Forum Discussion
NaN help
- Anonymous9 years ago
The query editor uses a different language. It is case sensitive and if statements have a different structure there. You should familiarize yourself with the query editor language. https://msdn.microsoft.com/en-us/library/mt211003.aspx
...or use the DIVIDE function since it has built-in /0 catching.
I am a newbie to PowerBI. How do i use the DIVIDE function when i created a custom column? Do I have to go to Advanced Editor?
- Anonymous9 years agoNot applicable
Oh, you're in the query editor. No, DIVIDE is a DAX function. You'll have to go with the if 0 suggestion from MarcelBeug after all.
- tiffanynguyen9 years agoRegular Visitor
Thanks. it says that the If function is not recognized? Should I move to DAX to do this?
- Anonymous9 years agoNot applicable
The query editor uses a different language. It is case sensitive and if statements have a different structure there. You should familiarize yourself with the query editor language. https://msdn.microsoft.com/en-us/library/mt211003.aspx