Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Uploads getting stuck in the virus scanner. We are investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
MVP & Luminary
MVP & Luminary

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

 

Highlighted
Contributor II
Contributor II

Thanks Rob.

 

However the pivot table is still showing "-"

Highlighted
MVP & Luminary
MVP & Luminary

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