Welcome Guest! To enable all features please Login or Register.
Go to last post Go to first unread
Leonardo Pimentel  
#1 Posted : Monday, June 11, 2018 8:43:06 PM(UTC)
Leonardo Pimentel
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?
#2 Posted : Wednesday, June 13, 2018 9:11:12 AM(UTC)
Rank: Administration

Groups: extranet\Forum
Joined: 4/7/2011(UTC)
Posts: 514

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
Users browsing this topic
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.



We use cookies to improve your site experience, but they also provide us with information on your use of our website.
To find out more about the cookies we use and how to delete them, see our Privacy Policy. By continuing to browse the site, you are consenting to our use of cookies.