Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikeers
Creator II
Creator II

All values in table (including nulls and zeros)

Hi!

I wonder (I have something like in the attachment) - how to display all customers in a three-column table (regardless of the sum of sales)?

CustIDNameSum(Sales)
C100...1000
C105...null
C110...0
..........
1 Solution

Accepted Solutions
rubenmarin

Hi Kuba, one option is adding "+Sum({1} 0)" to the expression, customers without data will show 0

To set the string 'null' you can try wih:

If(Count(Sales)=0, 'null', Sum(Sales))

View solution in original post

6 Replies
niclaz79
Partner - Creator III
Partner - Creator III

Hi,

You have to unclick 'Suppress when value is null' on the Dimensions-tab and then also unclick 'Suppress zero values' in presentation.

qlikeers
Creator II
Creator II
Author

I have only:

1) "Include null values" - in dimmension (selected)

2) "Include zero values" - in Add-ons, Data handling (selected)

Didn't work.

suhaskharat
Contributor III
Contributor III

Remove suppress zero value from presentation tab too!!

rubenmarin

Hi Kuba, one option is adding "+Sum({1} 0)" to the expression, customers without data will show 0

To set the string 'null' you can try wih:

If(Count(Sales)=0, 'null', Sum(Sales))

sibin_jacob
Creator III
Creator III

If you want to show all Names without considering any selection, please use the below expression for sales

Sum({1}Sales)

qlikeers
Creator II
Creator II
Author

Thanks rubenmarin!

It works!