Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
alwinsch
Creator
Creator

Formula Sum gives unexpected behavior

Hi all,

I have the following formula in a chart.

sum (if(Load_month= 2,({<[Status AO] ={'In Behandeling'} + {'Gerealiseerd'}>}PrAO)))

But it gives some strange values, or better it gives me an error.

Please any help.

I want to show the sum of PrAO for one particular Load_month

and the Status should be one of the following: 'In Behandeling' + 'Gerealiseerd'

can anybody rewrite the formula?

Thanks,

Kind regards.

Alwin

Labels (1)
1 Solution

Accepted Solutions
alwinsch
Creator
Creator
Author

Nevermind... solved the problem myself.

sum

({<[Status AO] ={'In Behandeling'} + {'Gerealiseerd'}>}if(Load_month=2, PrAuto,0))

Thanks.

A.

View solution in original post

2 Replies
alwinsch
Creator
Creator
Author

Nevermind... solved the problem myself.

sum

({<[Status AO] ={'In Behandeling'} + {'Gerealiseerd'}>}if(Load_month=2, PrAuto,0))

Thanks.

A.

Nicole-Smith
MVP
MVP

Try sum ({<Load_month = {2}, [Status AO] ={'In Behandeling'} + {'Gerealiseerd'}>}PrAO)