Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

From IF Statement to Set Analysis

Hi

I have this IF statement which works:

IF(month(DATE) < 3 OR month(DATE) = 12, sum(IM*GBP),'no data')

How would I transform it into set analysis? Is it possible?

Also, instead of having 'no data', is it possible to just not display the row at all?

Thanks

2 Replies
Gysbert_Wassenaar

That can't be rewritten to a set analysis expression. If you rewrite it to IF(month(DATE) < 3 OR month(DATE) = 12, sum(IM*GBP)) and check the option Suppress Zero-Values and Suppress Missing on the Presentation tab of the properties window then the row won't be displayed (unless another expression on that row does have a value).


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks for help. That's the problem, other expressions have values so the whole row is displayed and checking Suppress boxes doesn't work.