Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

{1} Set analysis reacting to selections.

I'm trying to make a KPI show the amount of cases for the latest month, however the below expression returns a count of unique_id for the current selection instead. Can anyone tell me what I'm doing wrong?

Count({1<YEAR_MONTH={"=Max(YEAR_MONTH)"}>} UNIQUE_ID)

Thank you.

1 Solution

Accepted Solutions
sunny_talwar

Add {1} to the set modifier's Max() function also...

Also, do you may be also need a dollar sign expansion here?

Count({1<YEAR_MONTH={"$(=Max({1}YEAR_MONTH))"}>} UNIQUE_ID)

View solution in original post

2 Replies
sunny_talwar

Add {1} to the set modifier's Max() function also...

Also, do you may be also need a dollar sign expansion here?

Count({1<YEAR_MONTH={"$(=Max({1}YEAR_MONTH))"}>} UNIQUE_ID)

Anonymous
Not applicable
Author

Thank you!

It works exactly the way I wanted.