Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hillrunner
Contributor II
Contributor II

set analysis with function in modifier

Hello

I would like to have a graph which have as expression the count of the field [A]

but it should count the line only if the date field [B] is a date in 2021

So i wanted to have a set analysis like

count({$<year([B)={'2021'}>}[A])

It appears it doesn't work when there is a function in the modifier, is it true ? what i don't understand, thanks !

1 Reply
MayilVahanan

HI 

Try like below

count({$<B={'*2021*'}>}[A])

or being Year field and use like below

count({<YearField={2021}>}A)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.