Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
pnutbutta
Contributor II
Contributor II

Showing null values as zero

Hello,

I'm creating a customer report where I need to bring in null values but the default is presenting the null as a "-". For my case I would like to show the null value as 0.

I'm not sure how to nest this in the measure below.

I'm bringing in customers that purchase pack 1022 and showing all products within the Pack range even if the customer does not currently purchase. The idea is to identify opportunities to sell to customers. I only need to change how the null value is presented.

Sum( {$< CustomerName = P({1<Product={'1022'}>}) , Pack -= {'50','52','54','58'} >} Qty )

 

Thanks!

Labels (2)
3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Alt( Sum( {$< CustomerName = P({1<Product={'1022'}>}) , Pack -= {'50','52','54','58'} >} Qty ), 0)

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

 

pnutbutta
Contributor II
Contributor II
Author

Thanks Rob.

 

However the pivot table is still showing "-"

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

If this is a cross table -- that is a dimension is a column -- then the "-" are missing values.  Not sure how to set those to something else in Sense.  Anyone else know?

-Rob