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

Pivot table Difference instead of total

Dear Experts

     Can anyone solve this simple problem which i am facing, In the below picture instead of getting partial sum i wanted actual - budget difference.

Thanks in Advance

QVCPic.JPG

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

You can us chart inter record functions and the fact that the SecondaryDimensionality()=0 for the partial sum, so e.g. for the Cost expression

=if(SecondaryDimensionality()=0,

First(Sum(Cost))-First(Sum(Cost),2),

Sum(Cost)

)

View solution in original post

2 Replies
stigchel
Partner - Master
Partner - Master

You can us chart inter record functions and the fact that the SecondaryDimensionality()=0 for the partial sum, so e.g. for the Cost expression

=if(SecondaryDimensionality()=0,

First(Sum(Cost))-First(Sum(Cost),2),

Sum(Cost)

)

Not applicable
Author

Fantastic..!!!!

it works..!

Thank you very much Piet Hein van der Stigchel