Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

Handle with Nulls

Hi All,

I have one report in that i have calculated column say suppose "Output" (Column 35 ) and it is being calculated by (((Column(25))/Column(26))*Column(10))



In Output column i am getting some Null ( - ) values .

My expected output is instead of  this Null ( - ) I want Column(10) else (((Column(25))/Column(26))*Column(10))




Thanks

PM

1 Solution

Accepted Solutions
sunny_talwar

May be this

Alt((((Column(25))/Column(26))*Column(10)), Column(10))

View solution in original post

3 Replies
sunny_talwar

May be this

Alt((((Column(25))/Column(26))*Column(10)), Column(10))

sunny_talwar

Not sure why you removed your response, but here is the explanation

Alt function picks the first non-null value in the order of expressions... so when (((Column(25))/Column(26))*Column(10)) is null, it picks Column(10)

prma7799
Master III
Master III
Author

Sorry it was by mistakenly deleted... In that I have written "Thanks Sunny.. Please explain little bit. "