Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
gizzel123
Creator
Creator

Total Problem in Pivot table

Hi Guys,

I have a below PIVOT table.but my requirement is to get the total base on group as,

For each section,

a.      Total for Today = sum of all lines identified as “today” in the group.

b.      Total for Proposed = sum of all lines identified as “today” and “proposed” in the group.

c.      Total for Future = sum of all lines identified as “today” and “proposed” and “future” in the group.

PIVOT.png

Is it possible?  Please advise.

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Hi,

see attachment.

Regards,

Antonio

View solution in original post

4 Replies
PrashantSangle

Hi,

Try

Sum(aggr(YourExpression,dim1,dim2))

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 🙂
gizzel123
Creator
Creator
Author

Dimension is the same, i,e GROUP.

it has 3  sections, today, proposed and Future.

I want to have total like: a)  Total:today

b)  Total:today+ proposed

c)Total:today+ proposed+ future


antoniotiman
Master III
Master III

Hi,

see attachment.

Regards,

Antonio

svenkita
Creator II
Creator II

Create a new expression

=RangeSum(Above(Total Sum(Cost),0,99))

This will give u a running total.

Hope this helps