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: 
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

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

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