Forum Discussion
Conditonal Statement
- 4 years ago
Insert a Custom column and paste following (Add column menu - Custom column)
= [USD Amount]??[Invoice Amount]
You can also put following formula as an alternative
= if [USD Amount]=null then [Invoice Amount] else [USD Amount]
equals operator followed by "null" (without quotes) as value should do it.
Otravers,
I had actually tried prior to posting this question but apparently you cant enter a value of NULL. It must be a value. Any other suggestions adding a Conditional Column?
- otravers4 years ago
Community Champion
The M language in Power Query is case sensitive, I wrote "null" (not "NULL") for a reason and what I suggested works as demonstrated here:
- Centaur4 years ago
Helper V
ahh I see now. Its case sensitive. I confirm I do not get an error but I do if any letter is capitalized. Geez that is annoying.