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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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