if-statementbusiness-objects

Formula returning 1 if sum of Column A is 0, otherwise 0, not working for one specific row


I have a simple sum column and a simple if statement in sum 0 that says "if sum antal=0 then 1 else 0"

But on the last row it returns 0 instead of 1.

enter image description here

I have tried to change the number format and i have looked at the data in the column summed up. It should work like all the other rows.

These are the numbers being summed on that specific problem row. I tried to make a dimension that check if the sum antal is greater than 0 and on this specific row it returns true, but not on all the other 0 sum rows.

enter image description here


Solution

  • There was an underlying issue in the dataset i was summing on, unfortunately i don't remember the specific details, but i think it was something with hidden decimals. I did get it to work in the end.