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: 
Florin2
Contributor
Contributor

Rank as KPI object

Hi,

I have the next table with this headers as data: ID Pharmacy | ID Card | Date where ID Pharmacy are distinct & ID Card are distinct. 

What i want to do is to have a KPI as object where when i selecting the ID Pharmacy to show me the Rank of ID Pharmacy selected by filter based on the count(ID Card).

I made the rank using the chart but i wanted to have as a KPI object. 

I'm working in Qlikview.

Thank you in advance, 

Labels (1)
2 Replies
rubenmarin

Hi, you can try with =Aggr(Rank(TOTAL Count({<[ID Pharmacy]>} [ID Card])),[ID Pharmacy])

Florin2
Contributor
Contributor
Author

Hi Ruben,

Thank you for your fdk.

Is working.

Best regards