en
Welcome Guest! To enable all features please Login or Register.
Options
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?
Ole  
#2 Posted : Wednesday, June 13, 2018 9:11:12 AM(UTC)
Ole
Rank: Administration

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

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
I work as an employee with TARGIT A/S. Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of TARGIT A/S.

UserPostedImage Ole Dyring
Users browsing this topic
Anonymous
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.

Notification

Icon
Error

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.

ok