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: 
JonathanG
Contributor II
Contributor II

Get Defference of null value in Pivot Table

Hi Guys,

I have a data:

Date (DD/MM/YYYY)PlaceRegionValue
01/08/20201A2
01/08/20201B7
01/08/20202C4
01/08/20202D8
01/09/20201A1
01/09/20201A9
01/09/20201B5
01/09/20202C7
01/09/20202C3

and i transform into pivot

  01/08/202001/09/2020
1A210
 B75
2C410
 D8-

I use if(isnull(sum(value)),0,sum(value))-if(isnull(before(sum(value))),0,before(sum(value))) and it gives me value ONLY row A (-8), B (2), C (-6) while D returns to - instead of -8

how to get the difference if there is a null value?

Thank you

Labels (1)
0 Replies