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: 
bhargavikn
Contributor III
Contributor III

Replace '-' or null value with 0 in Pivot table Qlik sense

Hello All,

I'm trying to replace '-' values with 0 in pivot table but it is not working.

tried with below functions

1. If(isnull(Expression),0,Expression)

2. Alt(Expression,0)

nothing is working. Can you please suggest me on this.

Thank you!

Labels (1)
3 Replies
udit_k
Partner - Creator II
Partner - Creator II

use your expression as below using set analysis:-

sum({<Region={"=len(Region)>0"}>} Count)

this will replace null with zero too

BrunPierre
Partner - Master II
Partner - Master II

RangeSum(Expression, 0)

Keitaru
Creator II
Creator II

This worked for me but if there is multiple Column dimensions it doesn't work on the additional columns

Keitaru_0-1701421548754.png