0
Replacing NaN in ValueBox calculation
Forum / Questions & Answers
I'm looking for an easy way to replace NaN as displayed in a ValueBox when the underlying calculation is NaN. I was trying to use the Value Transform using an if statement, but have not been successful getting that to work. Anyone have an example?
3 replies
-
You could set up a calculation that uses the If statement. It would look like
if([ValueBox1]='NaN','Bad',[ValueBox1])
A "quirk" is that calculations can only reference other controls as inputs. So you'll have to put the raw tag as a ValueBox, make it invisible if you don't want it seen, then create your new ValueBox with the calculation.
Does that help?