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: 
knightwriter
Creator III
Creator III

Text object properties - max number and name

Hi All,

What formula / expression do I use to make my text object show the max number and the equivalent subject / name?

Many thanks.

Labels (1)
1 Solution

Accepted Solutions
rubenmarin
MVP
MVP

It can be something like:

=Aggr(If(Rank(Count(ActivityName))=1, ActivityName & ': ' & Count(ActivityName)), ActivityName)

View solution in original post

4 Replies
rubenmarin
MVP
MVP

Hi Stephen, can you post an example of the data and which results are you expecting?

A simple text explanation will be enough

knightwriter
Creator III
Creator III
Author

Hi Ruben,

So I have quite a lot of activities and I want the text object to show the sum of the highest activity, along with the activity name only.

Does this explain?

rubenmarin
MVP
MVP

It can be something like:

=Aggr(If(Rank(Count(ActivityName))=1, ActivityName & ': ' & Count(ActivityName)), ActivityName)

knightwriter
Creator III
Creator III
Author

Beautiful! Just beautiful