Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
selimkocak
Contributor II
Contributor II

Empty cell in the pivot table is it possible to zero?

Hello there,

Pivot tables dash fields with zero (0) Can we do.


Above(TOTAL SUM(debt),0,RowNo(TOTAL)) + Above(TOTAL SUM(credit),0,RowNo(TOTAL))

+

SUM(amount)


Ekran Alıntısı.JPG

1 Solution

Accepted Solutions
lakshmikandh
Specialist II
Specialist II

combination which are not having data in table are displayed as gaps or dashes . You can not show it as zero if you are not having data for that combination.

View solution in original post

4 Replies
lakshmikandh
Specialist II
Specialist II

combination which are not having data in table are displayed as gaps or dashes . You can not show it as zero if you are not having data for that combination.

cesaraccardi
Specialist
Specialist

Hi,

What if you replace the expression by sum({1} 0), does it display 0 values for all the cells? If that is the case then I think you can try something like:

sum({1} 0)

+

alt(

Above(TOTAL SUM(debt),0,RowNo(TOTAL)) + Above(TOTAL SUM(credit),0,RowNo(TOTAL))

+

SUM(amount)

,0)

rupamjyotidas
Specialist
Specialist

Maybe ALT() funciton can help you, if I understand your problem

Alt(your equation, 0)

Below is the help

https://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/Scripting/ConditionalFunctions/alt.htm

selimkocak
Contributor II
Contributor II
Author

Thank you so much