Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kailash_Shaw
Contributor II
Contributor II

Missing Null Before Values in Pivot Qlik Sense

Hello Everyone!

I have this strange issue. Please refer to the screenshot.

I am trying to get the 'Total' values appear in next Date columns using before, but it is appearing Null for few.

Kindly suggest.

 

Kailash_Shaw_0-1665992802738.png

 

Labels (1)
2 Replies
Mario_De_Felipe
Luminary
Luminary

Hi @Kailash_Shaw ,

I'm not sure about your expression, but it seems a problem when you are doing a SUM with the plus operator instead of using RangeSum() function. The plus operator doesn't support Null values: add a number to Null always results Null. With RangeSum() function you can avoid this problem, typically you would make an expression RangeSum(SUM(Sales), before(SUM(Sales)).

Hope it helps

Kailash_Shaw
Contributor II
Contributor II
Author

Thanks @Mario_De_Felipe 

I have found this issue generic in Sense. Nulls are missing values for dimension combinations. I will have to replace the missing values with 0 using script. So I am trying to work out a script.