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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ignoring filter on dimension in aggr function

Hi All,

I have an expression that uses and aggr function on dimension dim01. I also have provided the filter for dim01 on the same sheet. Now I want to have below expression calculated for all values of dim01 even if user have selected some values in dim01 filter. 


max(aggr(sum(facts), dim01))


Please advise.


regards,

Salman

Labels (2)
1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

max({<dim01=>}aggr(sum({<dim01>}facts), dim01))

View solution in original post

3 Replies
Not applicable
Author

Hi,

use the below.

sum({<dimo1= >}facts)

MK_QSL
MVP
MVP

max(aggr(sum({$<dim01 = >}facts), dim01))

or

max({$<dim01 = >}aggr(sum({$<dim01 = >}facts), dim01))

CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

max({<dim01=>}aggr(sum({<dim01>}facts), dim01))