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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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.

1 Solution

Accepted Solutions
sunny_talwar

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

May be this

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

sunny_talwar

Also, is period_rapture a text field?

Not applicable
Author

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