Forum Discussion
Maximous89
Helper I
1 year agoDAX challenge (nested if or switch is not working)
Hello power bi sharks, i have a challenge power bi dax measure, it's quite simple to under stand acctully i have a measure that has many variable measures inside it, and i want this measure ...
- 1 year ago
Hi Maximous89 ,
Thank you for your update.
Could you please share a sample dataset that reflects your scenario? This will help us accurately reproduce your requirement and provide the most possible solution.
Warm Regards,
Chaithra E.
Alex_Sawdo
Resolver II
1 year agoRealistically, a field parameter would be a better implementation of this situation than a DAX Switch statement. For the field parameter, you would select/add every measure you would like a user to select from (like what you have in the switch statement) and use this as a slicer on the page. Also with a field parameter, you can select multiple values and each value will appear and not get ignored like a Switch statement would.