Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

DAX to allow Table returned in Switch Statement or an IF

Hi it would be really helpful in the next version of DAX if a SWITCh statement or an IF statement could return a Table and not just a scalar value. This would allow you to store it in a variable and replay it further down in the code and would reduce the amount of  veey large boiler plate style code . I think 

Status: New
Comments
v-yuta-msft
Community Support

@Anonymous ,

 

Actually currently power bi doesn't support this feature, I would suggest you create an idea here.

 

Regards,

Jimmy Tao