Forum Discussion

stansabel's avatar
stansabel
Frequent Visitor
11 years ago

Expression error: The name 'Switch' wasn't recognized. Make sure it's spelled correctly.

I have a "Switch" statement that works in PowerPivot but not in PowerBI.  Does anyone know if the current release of PowerBI desktop supports "Switch"?

1 Reply

  • curth's avatar
    curth
    Icon for Power BI Team rankPower BI Team

    The text "Expression error" makes me think that you're doing this in the "M" or "Power Query" editor in the PBI Desktop instead of a DAX context.