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: 
kartik
Contributor III
Contributor III

Help me understanding this set analysis expression...

Hi Everyone!!

Here is the Set Expression used in a sheet and I'm not able to understand this TLmonth Expression. Pls help

Count({<[Calendar Year]={$(=Max([Calendar Year]))},TL_MonthNo={$(=Max({<[Calendar Year]={$(=Max([Calendar Year]))}>}TL_MonthNo))},
Flag={'servicePSF'}>}FLMS_CUST_NO)

 

 

Thanks in advance.

Labels (3)
2 Replies
vinieme12
Champion III
Champion III

TL_MonthNo={  $(=Max({<[Calendar Year]={$(=Max([Calendar Year]))}>}TL_MonthNo)) }

This will return all possible TL_MonthNo values where [CalendarYear] = max([CalendarYear])

 

This is however redundant, since [Calendar Year] is already filtered to its max value, applying the same condition filter on TL_MonthNo is unnecessary,

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
kartik
Contributor III
Contributor III
Author

that's exactly what I thought but wait I will show you something...