Skip to main content
Announcements
YOUR OPINION MATTERS! Please take the Qlik Experience survey you received via email. Survey ends June 14.
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 (1)
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))