cancel
Showing results for 
Search instead for 
Did you mean: 

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
Community Support

@rdodworth ,

 

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

 

Regards,

Jimmy Tao