Skip to main content

Power BI

New

Add Switch/Case Statement to M

Vote (19) Share
Colin Banfield's profile image

Colin Banfield on 27 Aug 2015 01:25:45

I am amazed that M has never implemented some form of Switch/Case statement, even though such a statement is at least as important in M as it is in Power Pivot. In many scenarios, Switch/Case would be a better option than a bunch of nested "if" statements.