Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Help with set analysis?

Hello,

Currently I'm using the following  expressions 

 

 

=count( {<REPORT_YEAR={$(vCurrentYear)>}AC_SERIAL)

I want to to include a condition ,which only shows values which older than or equal to current month,all other values must show null for future months

I know we have to you month(today()) function ,inside the set expression, but I running ionto syntax error

Thx

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

If you have date field in your data then use this

=count( {<YearFieldName=, MonthFieldName=, QuarterFieldName=, DateFieldName={'<=$(=MonthEnd(Today()))'}>}AC_SERIAL)

Hope this helps you.

Regards,

Jagan.


View solution in original post

2 Replies
Not applicable
Author

I believe you would have to use month={">=$(=month(today())")}

jagan
Luminary Alumni
Luminary Alumni

Hi,

If you have date field in your data then use this

=count( {<YearFieldName=, MonthFieldName=, QuarterFieldName=, DateFieldName={'<=$(=MonthEnd(Today()))'}>}AC_SERIAL)

Hope this helps you.

Regards,

Jagan.