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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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