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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional Expression not hiding value

Hello,

When trying to hide an expression on a conditional statement - I find that if I put a 0 in the expression the rows are hidden, if I put a expression (such as =if(count({<[sdk_syncs]={">0"},os_platform_key={3},[market_data]={'Market'}>} distinct_row_key) > 0, 1 ,0)) the rows are displayed - even when the expression evaluates to 0.

So in the following table:

May-2011220
Jun-2011320
Jul-2011590
Aug-2011820
Sep-20111220
Oct-20112110
Nov-20112990
Dec-20114040
Jan-20125251
Feb-20126581
Mar-20128271
Apr-20129991

The rows from May-2011 until Dec -2011 should not show up - but they are.

Any ideas?

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try only({<[sdk_syncs]={">0"},os_platform_key={3},[market_data]={'Market'}>}1)


talk is cheap, supply exceeds demand
Clever_Anjos
Support
Support

On second column use an "if" to return 0 and mark "Supress zero values" at Presentation tab

example (second column)

if(count({<[sdk_syncs]={">0"},os_platform_key={3},[market_data]={'Market'}>} distinct_row_key) > 0,

[second column expression]

,0))