Forum Discussion
AnjaD
3 years agoNew Member
Can't make IF statement work in Power BI
I am trying to create a new column using an IF statement. If the column 'Survey Type' = AML Quantitative then return with the value in column 'Status'. In the status column there are various answers ...
- 3 years ago
Hi AnjaD
In M, I think you need to use if conditional in this way:
IF <condition> then <ResultTrue> else <ReturnFalse>
So if I'm not wrong, you should write:
IF [Survey Type]="AML Quantitative" then [Status]
Anyway, taking into account the error given, the problem is you are missing a ")", so you need to add it, not to remove it