Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
RichardLee
Creator
Creator

Replace Nulls with the previous Value

I have a pivot table and I would like to replace the Null Value with the previous Values.

This should go from Jan 2018 all the way to Current Date

RichardLee_0-1668436688295.png

 

the mesure is a very simple Sum([Total Costs £])/Sum([MapSrcHeads.Order Qty])

Labels (1)
2 Replies
BrunPierre
Partner - Master II
Partner - Master II

=If(isnull(Sum([Total Costs £])/Sum([MapSrcHeads.Order Qty]),Above(Sum([Total Costs £])/Sum([MapSrcHeads.Order Qty]),1),Sum([Total Costs £])/Sum([MapSrcHeads.Order Qty]))

RichardLee
Creator
Creator
Author

This wouldn't work. "isnull" only allows one parameter and with the divide that makes two.