Forum Discussion
Jun_Wang
Advocate I
7 years agoIF statement in DAX
Could you please help write one DAX formular (calculated column)? The desired output is like this: If Column A is blank, the newly addedColumn = the value in the Column B, otherwise return the v...
Mariusz
Community Champion
7 years agoHi Jun_Wang
You can use expression below.
Column =
IF(
YourTable[Column A] = BLANK(),
YourTable[Column B],
YourTable[Column A]
)
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.
Jun_Wang
Advocate I
7 years agoThank you :)