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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
shumailh
Creator III
Creator III

Set Analysis not working

I was trying to filter my date by using set analysis but its not working.



=COUNT({$<AIF = {P}, LoadMonth_Active = {$(#=ReportMonth)}, Bucket={0,1,2,3,4,5,6}>} AIF)


this loadmonth_active contains months of year 2010 i.e. jan, feb, mar.... dec whereas the variable ReportMonth contains a value 'dec'.

Earlier to that I tried loadday_active which contains days of last year with a variable ReportDay contains 31 which was working.

I am unable to understand what is the reason why the month code is not working. Can anybody help me in this regard.

Shumail

Labels (1)
1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

Hello

why do you use $(#,,,) try like this:

COUNT({$<AIF = {P}, LoadMonth_Active = {'$(ReportMonth)'}, Bucket={0,1,2,3,4,5,6}>} AIF)

View solution in original post

2 Replies
sparur
Specialist II
Specialist II

Hello

why do you use $(#,,,) try like this:

COUNT({$<AIF = {P}, LoadMonth_Active = {'$(ReportMonth)'}, Bucket={0,1,2,3,4,5,6}>} AIF)

shumailh
Creator III
Creator III
Author

Thanks Sparur