Forum Discussion
TomSinAA
2 years agoHelper IV
Calculate column using if
I am trying to add a calculated column using this formula: If([Carrier]="B","V",if([Carrier]="B","V","E")). However, Power BI indicates there is some type of error in the formula:
The Formula is incorrect.. In Power Query it works differently, like below.
=if([Column2]) = "Check" then "Yes" else "No"Instead of adding a Calculated Column , add a Conditional column and add required clause.
1 Reply
- miTutorialsSuper User
The Formula is incorrect.. In Power Query it works differently, like below.
=if([Column2]) = "Check" then "Yes" else "No"Instead of adding a Calculated Column , add a Conditional column and add required clause.