Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

sibrulotte
Contributor 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
MVP
MVP

Re: Set analysis within set modyfier

May be this

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

sibrulotte
Contributor III

Re: Set analysis within set modyfier

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

thanks

MVP
MVP

Re: Set analysis within set modyfier

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

Community Browser