Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
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.

1 Solution

Accepted Solutions
rubenmarin

It can be something like:

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

View solution in original post

4 Replies
rubenmarin

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

It can be something like:

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

knightwriter
Creator III
Creator III
Author

Beautiful! Just beautiful