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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sibrulotte
Creator III
Creator III

Set analysis within set modyfier

hi,

I have a set analysis that works well:

=maxstring({<[Période fermée] ={'1'}>}[Année-période financière])

This gives me 2017-09. basically, year 2017, 9th period. 9th period in my calendar is january.

I want to bring back january as my result so I tried this set analysis:

=only({< [Année-période financière]={'$(maxstring({<[Période fermée] ={'1'}>}[Année-période financière]))'}>} Mois)

Gives me a blank in a text box. Is there something I'm not writting properly in my expression?

3 Replies
sunny_talwar

May be this

=Only({<[Année-période financière]={"$(=MaxString({<[Période fermée] ={'1'}>}[Année-période financière]))"}>} Mois)

sibrulotte
Creator III
Creator III
Author

Ah this is why I need te revise my expressions. The = was missing in front of Maxstring in deed..

thanks

sunny_talwar

And the double quotes, or remove the inner single quotes and then you can use single quotes