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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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.