Forum Discussion
zilaifeng
7 years agoFrequent Visitor
Replacing NaN with 0
Hello, I'm looking for a way using DAX function to replace all the NaN values in my data to 0. (I do not have the original data file so that I cannot use query editor.) Thanks!
Mariusz
Community Champion
7 years agoHi zilaifeng
You can use if error like below.
Column = IFERROR('Table'[Custom], BLANK())
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.

Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
Anonymous
5 years agoNot applicable
Thanks for the quick solution.