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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to do to work the MaxString function inside Count

Hi, I'm trying to make this function work, "COUNT (DISTINCT {$ <name, group = {'SERVERS', 'SERVERS - COMMISSIONERS', 'SERVERS - EXTRA FRAME'}, $ (MaxString (period_rapture))} registration)"

Where I can not make MaxString work in the function, how can I help myself, I'm new to the qlik tool.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

COUNT (DISTINCT {$ <name, group = {'SERVERS', 'SERVERS - COMMISSIONERS', 'SERVERS - EXTRA FRAME'}, period_rapture = {"$(=MaxString(period_rapture))"}>} registration)

View solution in original post

4 Replies
devarasu07
Master II
Master II

Hi,

Try like this. put it inside your set analysis expression (remember to update your dimension field name in below expression)

COUNT (DISTINCT {$ <name, group = {'SERVERS', 'SERVERS - COMMISSIONERS', 'SERVERS - EXTRA FRAME'}, Dimension={$(=MaxString(period_rapture))} registration)

also check this,

How to use - MaxString &amp; MinString

Thanks,Deva

sunny_talwar
MVP
MVP

May be this

COUNT (DISTINCT {$ <name, group = {'SERVERS', 'SERVERS - COMMISSIONERS', 'SERVERS - EXTRA FRAME'}, period_rapture = {"$(=MaxString(period_rapture))"}>} registration)

sunny_talwar
MVP
MVP

Also, is period_rapture a text field?

Not applicable
Author

Good morning, thank you very much. It worked, thank you for the strength.