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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Incorrect TOTAL in pivot table

Hello, cant understand why qlikview shows incorrect total for Product Sales value in pivot table.

I am calculating product sales as val* mni

intotal.JPG

Thanks

11 Replies
rubenmarin

Hi Aditi, you can change last expression to:

If(Dimensionality()>0, val*mni, Sum(Aggr(Sum(VALUES)*Sum(product_weightage), TERRITORIES, [IJSF Brick])))

Problem is mni, saleshas to multiply VALUES*weight, in totals, if you multiply by sum of weight, it multiplies by 3.18.

Not applicable
Author

Thanks  a lot. Just why are we using the dimensionality and in what all conditions it can be used?!