 Rank: Newbie
Groups: extranet\Forum
Joined: 9/5/2017(UTC) Posts: 1
|
We have a view that presents mathematical error because there is no value in one of the defined dimensions.
How can I eliminate the math error by displaying the value 0%
In the field ∆%PE Calculate we have sum(c2, 0, m1) / sum(d-1, 0, m7) - 1
How do I enter an IF to handle the error and display the value 0%
I tried to include a visibility agent to hide the member, but it hides all members with error and those with values presented.
Can anyone help?
|
|
|
|
|
|
 Rank: Administration
Groups: extranet\Forum
Joined: 4/7/2011(UTC) Posts: 510
|
Hi Leonardo,
It is fairly simple:
if sum(d-1, 0, m7) = 0 then 0 else sum(c2, 0, m1) / sum(d-1, 0, m7) - 1
BR / Ole |
Ole Dyring |
|
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.