Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
bhaveshp90
Creator III
Creator III

How to resolve this error?

Hello,

I have a table a shown below;

1.PNG

I am calculating YTD as Current month - Baseline columns. But the yellow marked value is wrong (-32864-0 = -32864).

Why is my value showing as -? Any help

1 Solution

Accepted Solutions
MarcoWedel

RangeSum(Current month, - Baseline)

View solution in original post

5 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

the problem is that the value is missing it's not zero

and you can't do a calculation with missing values

bhaveshp90
Creator III
Creator III
Author

Yes it is missing, Is there a way to avoid it. even my expression If(Variance_YTD = ' ', 0, xxxxxxx) not working.

MarcoWedel

RangeSum(Current month, - Baseline)

bhaveshp90
Creator III
Creator III
Author

thank you Marco, it worked like a charm.

bhaveshp90
Creator III
Creator III
Author

We can also use if(isnull(field), 0, xxx).