Skip to main content
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.

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

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

View solution in original post

1 Reply
sunny_talwar

May be like this:

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