Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
dandaanilreddy
Partner - Creator III
Partner - Creator III

How to show non associated data in qliksense pivot table.

Hello Qlik Experts,

Please can someone let me know how to achieve the below output in qliksense pivot table.

Countrystateproductsales
USACAAPPLE10
USANJAPPLE20
USAMOAPPLE30
USASCSAMSUNG40
USAILSAMSUNG50
USAKYSAMSUNG60

Product Selected: Apple

Expected output;

Countrystatesum(sales)
USACA10
USANJ20
USAMO30
USASCNULL
USAILNULL
USAKYNULL

Thanks,

Anil Danda

1 Solution

Accepted Solutions
sunny_talwar

Try this expression

Sum(sales) + Sum({1} 0)


Capture.PNG

View solution in original post

4 Replies
sunny_talwar

Isn't this the regular behavior when you have checked 'Include Zero Values' under Data Handling?

dandaanilreddy
Partner - Creator III
Partner - Creator III
Author

I have checked the include zero values option but i still didn't get the expected output.

sunny_talwar

Try this expression

Sum(sales) + Sum({1} 0)


Capture.PNG

ravi200351023
Contributor II
Contributor II

Try

=IF((sum(sales)-sum({1}0))=0,'NULL',sum(sales)-sum({1}0))