Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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
Partner - Master

=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.