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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator III
Creator III

Top 5 Names

Hi Community,

I have 3 fields Name, Status and empcount.

each name has multiple status. (If I take top 5 names working fine as expected)If I combine Name and Status (Name&'-'&Status), I want it the same result with composite key

Out Put Should be below (if we have multiple status we can pick anyone of them, but Name should be the same for both)

@tresesco@MayilVahanan,  @Kushal_Chawda@marcus_sommer@stevedark 

and experts can you please take a look!

 

Thanks in Advance!

Labels (2)
3 Replies
paulwalker
Creator III
Creator III
Author

if anybody help much appreciated !

qlikeers
Creator II
Creator II

Hi! I don't understand a bit, where is the problem?

Or I'm misunderstanding the task.

 

Can't you just make a table? Where:

Dimension: =Name&'-'&MaxString(Status)

Measure: Your count. -> COUNT(XXX)

*Maxstring is there to bind one of many statuses, as you wrote.

BrunPierre
Partner - Master II
Partner - Master II

Hi, @paulwalker  as calculated dimension.

=Aggr(MaxString(Name&'-'&Status), Name)

BrunPierre_0-1697820460458.png