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: 
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 !