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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

Amount to display

Hello community,

I would like to set a condition

if sum(poktndd) >0 and IS NOT NULL(LB) => sum(poktndd)

else don't display the amount / sum(poktndd)

Any idea please?

Thanks

13 Replies
master_student
Creator III
Creator III
Author

Sorry

now the expression is correct

Capture.PNG

but here's the result :

Capture2.PNG

I want that those records to disappear with '-'

sunny_talwar

If LB is your dimension, why don't you select 'Suppress When Value Is Null' on the dimension tab to remove all those records where LB is null?

master_student
Creator III
Creator III
Author

I don't want to suppress whene LB is null, because there are LB nulls and the amount POKYNDD is not null, I want this line to appear

sunny_talwar

It seems you have more than one expression in your chart. You might need to use this logic for all your expressions.

If(Len(Trim(LB)) > 0 and Sum(poktndd) > 0, OtherExpressions)