Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
gadwinjer
Partner - Contributor III
Partner - Contributor III

Group by in measure expression (#1 KPI)

Hello,


I would like to group by a count expression and get the max of the values but I don't know how :

In #1 KPI there is no dimension (that makes sense for only 1 value ) Could someone tell me how can I do something like this:

     MAX(COUNT(DINSTINCT [colonneA]) GROUPBY [colonneB])



Thanks

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Max(Aggr(Count(DISTINCT colonneA), colonneB))

View solution in original post

2 Replies
sunny_talwar

May be this:

Max(Aggr(Count(DISTINCT colonneA), colonneB))

gadwinjer
Partner - Contributor III
Partner - Contributor III
Author

Why did I suppose that would be harder ? Thank you !