Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!

2 Replies
tresesco
MVP
MVP

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

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

sunny_talwar

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