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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I set value to zero

How can I set empty value to zero value in pivot table expression.

(1-num([EKSTRA İSKONTO],'#.###'))

I try if statement but I cant fix.

if column is empty, return all expression zero.

I want to return zero [EKSTRA İSKONTO] if its empty.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this:

1 - If(Len(Trim([EKSTRA İSKONTO])) = 0 , 0, [EKSTRA İSKONTO])

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be like this:

1 - If(Len(Trim([EKSTRA İSKONTO])) = 0 , 0, [EKSTRA İSKONTO])