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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Obsyky
Contributor III
Contributor III

Use Sum({1} 0) in pivot table

Hello,

I would like to use this kind of measure in my pivot table:

Count(ValueX) + Sum({1} 0)

But it doesn't work

What am I doing wrong?

Thanks

Labels (1)
4 Replies
BrunPierre
Partner - Master II
Partner - Master II

{1} returns total Sales disregarding selections in this example; Sum ({1} Sales)

Perhaps you can provide some sample data and the desired result.

MendyS
Partner - Creator III
Partner - Creator III

It seems that you something deference, 
what you try to do?

Obsyky
Contributor III
Contributor III
Author

Obsyky_0-1664432966071.png

My table looks like this when no filter is applied

What I want is when a filter is applied, it replaces places that have a base number but are not related to the current filter with a zero so it can keep the shape.
For example I select a filter that will show me numbers in the first 5 columns, but not in the 6th, so replace all the right values with a 0.
Why I need this is that this table represents something physical and so it allows me to visualize where I am in relation to the physical