Forum Discussion

hyperbob0811's avatar
hyperbob0811
Frequent Visitor
6 years ago
Solved

Nested If formula in Power Bi Query custom column issue

I have the following code in a custom column, and it simply refuses to accept any variant of the very first then string value I want to add.  Doesnt matter what I do, I get the same error. this seems...
  • Greg_Deckler's avatar
    6 years ago

    hyperbob0811 - You don't use the paren's with if statements in M code. That's DAX syntax.

     

    Should be:

     

    if [alpha_code] = ...