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: 
microwin88x
Creator III
Creator III

Using Set Analysis for 2 Fields

Hello!

I have a line chart with the following expression:

COUNT ({$<ID_DATE#={">=$(='$(vDateFrom')<=$(='$(vDateTo)')"}>} DISTINCT TD_ENTRY_ID)

Where it counts # Tasks in my app for a Date range from a calendar.

That works ok, but now I need to include another filter for that set analysis expression:

CATEGORY should be equal to 'Payment'.

How could I do that, in order to consider the filter for ID_DATE and then also the CATEGORY filter?

Thank you!!!

Labels (1)
1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

separate it with a comma in the set analysis like:

COUNT ({$<ID_DATE#={">=$(='$(vDateFrom')<=$(='$(vDateTo)')"}, CATEGORY = {'Payment'}>} DISTINCT TD_ENTRY_ID)


Hope this helps!

View solution in original post

2 Replies
jerem1234
Specialist II
Specialist II

separate it with a comma in the set analysis like:

COUNT ({$<ID_DATE#={">=$(='$(vDateFrom')<=$(='$(vDateTo)')"}, CATEGORY = {'Payment'}>} DISTINCT TD_ENTRY_ID)


Hope this helps!

microwin88x
Creator III
Creator III
Author

Excelent! It worked! Thanks!