Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Omarov
Contributor II
Contributor II

0 instead of disappearing rows

Hi everyone.
I have a data like this :
customerID Product     value     date
       1            Prod1       100       Jan24
       2            Prod2       140       Jan24
       3            Prod2       360       Jan24
       4            Prod2        60        Jan24

I add customerid and sum(value) to pivot table
and Product to filter pane and date to another filter pane
when i select Prod1 from filter pane customerid 2,3,4 disappear because there is no data for customerid 2,3,4. I want qliksense show  0 instead of disappearing .
Thank you in advance.

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

try:

sum(value)+sum({1} 0)

and make sure you have option to in include 0 enabled

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

3 Replies
rui24
Creator
Creator

Hello @Omarov 

Try this

if(sum(value) = 0,'0',sum(value))

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

try:

sum(value)+sum({1} 0)

and make sure you have option to in include 0 enabled

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Omarov
Contributor II
Contributor II
Author

Thanks a lot