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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

Conditional Calculation

Hi,

i have a table that i would like to calculate only if YEAR is not selected.

Which is the right syntax?

Thanks!

Labels (1)
2 Replies
tresB
Champion III
Champion III

If(not getselectedcount(YEAR), <expression>)

Update: ohh,, you wanted otherwise (corrected adding a 'not')

sunny_talwar
MVP
MVP

You might also be able to do this in your expression

If(GetSelectedCount(YEAR) = 0,....)

Or use this in chart's calculation condition like this

GetSelectedCount(YEAR) = 0