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: 
jyothish8807
Master II
Master II

Sum Issue

Hello All,

I have a pivot table, when I am trying to take the sum I am getting 25, but in actual it should be 50.

I tried the same in straight chart also, but the output is the same.

Any help?

Regards

KC

Best Regards,
KC
1 Solution

Accepted Solutions
sunilkumarqv
Specialist II
Specialist II

try this

Sum(aggr(sum (total value),Dimension))

View solution in original post

5 Replies
sunilkumarqv
Specialist II
Specialist II

try this

Sum(aggr(sum (total value),Dimension))

kavita25
Partner - Specialist
Partner - Specialist

Hi,

In Straight Table under expression tab, in total mode click on sum of rows by default it is expression total.

In pivot table use aggr function.

for e.g sum(aggr(sum(Sales),Dim1,dim2,dim3))

Regards,

Kavita

tyagishaila
Specialist
Specialist

Plz share qvw file.. its really strange I want to see it.

Is this Total(50) come from show partial sum?

jyothish8807
Master II
Master II
Author

thanks a lot, I was missing the outer sum part.

Regards

KC

Best Regards,
KC
PrashantSangle

Hi,

Use Sum(aggr(Sum(Distinct Sales),Dimension))

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂