Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Difference between Total and ALL

Can someone help me to understand the difference between TOTAL  & ALL  qualifiers . both of them gives different results

round(sum(Quantity)/sum(Total Quantity)*100) 

round(sum(Quantity)/sum(ALL Quantity)*100)

6 Replies
narender123
Specialist
Specialist

Hi,

Please see the below link.

http://community.qlik.com/message/336161#336161

Hope this will help you

Thanks.

Not applicable
Author

  "All" disregards selections, and, if used, in chart, dimensions.  It is the same as

function({1} total field)

"Total" does not disregard selections, but it disregards dimensions.  Which is applicable if you use it in chart.

Not applicable
Author

Hi,

when we using in chart

sum(All Sales) returns aggregated sales irrespective of any dimension and any selection.It will not consider any dimension values.

sum(Sales)/sum(total Sales) returns the share within the selection.for calculating percentage for a single dimension we are using this expression.

Not applicable
Author

I've attached the image here ... I got 100% when I use Total , whereas if you look at the 3rd chart

it returns 6  (I used this formula round(sum(Quantity)/sum(ALL <DivisionName>Quantity)*100)   this is where I got confused as to what basis it returns 6...

Total_all.png

Not applicable
Author

SEE ATTACHEMENT

Not applicable
Author

how to attach qvw file ...