Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selections with Set Analysis

Hi all,

I've got the following expression in Qlik sense to show years over months in a line chart:

Sum({$<TS_year={2013}>}(TS_hoursWorked))

This works fine, but if a user selects a year other that 2013, I want 2013 to disappear.

I've tried a if statement, but this doesn't work for a chart. With a if statement it only shows when the coded year is selected.

Any ideas?

Thanks,

Conrad

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({$<TS_year *= {2013}>} TS_hoursWorked)

View solution in original post

2 Replies
sunny_talwar

Try this

Sum({$<TS_year *= {2013}>} TS_hoursWorked)

Not applicable
Author

Thanks so much Sunny! Works like a charm!