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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression working

can someone tell how this expression works

Sum(Aggr(Sum(TOTAL <Store, Market> SalesUnits), Store, ProdName, Market))?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Did you pick this expression from here?

Evaluate Chart Expression at line level‌

I did attach a sample. Did you try looking into it?

View solution in original post

4 Replies
sunny_talwar
MVP
MVP

Did you pick this expression from here?

Evaluate Chart Expression at line level‌

I did attach a sample. Did you try looking into it?

Not applicable
Author

Yes but could you explain how this expression works ?

Thanks.

sunny_talwar
MVP
MVP

If you create a straight table using the Aggr() dimensions and this (Sum(TOTAL <Store, Market> SalesUnits)) as expression, you will see this

Capture.PNG

Basically, it is totaling at Market and Store level. Read about The Aggregation Scope here.

Once you have this, I am just summing these values for Each ProdName. For instance Prod_A appears twice.

1000 + 3400 = 4400

Capture.PNG

Does this help?

Best,

Sunny

sunny_talwar
MVP
MVP

I also suggest reading this:

What does the TOTAL qualifier do?