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: 
Not applicable

aggregation in chart on some dimensions

Hi,

I have a straight table with 3 dimensions, lets say Region, Country, State and a single expression SUM(Sales). I want to do the SUM(Sales) based only on Region and Country but not on State. Is it possible to do this ? What is the expression that i should use ? I tried the following set analysis but it is not working -

SUM

(
   {$ <
State = > } Sales
)

Thanks,

Samir

3 Replies
luciancotea
Specialist
Specialist

=aggr(TOTAL SUM(Sales), Region, Country)

Not applicable
Author

Hi,

I tried this expression but it does not work when I apply filter on Region/Country (select in listbox).

Thanks,

Samir

Not applicable
Author

I'm not the best in English, but let's go hehe, I think is like this

SUM ({ < State = > } Sales)

without $