Forum Discussion
Perform conditional DAX in Slicer
- 6 years ago
Try to revamp it like below code:
Final Measure = Switch(True(), MAX(Table[County])="PVG",Calculate( Measure, Table[Code] NOT IN {"ABC", "DEF"}), Table[County]="IND", Calculate( Measure, Table[Code] IN {"ABC", "DEF"}))
NOTE: Measure is the name of calulcated profit which you just posted above.
Hi , NickProp28
Do you have resolved it? If yes, you could accept the helpful answer as solution. You also could share your own solution here. For now, there is no content of description in the thread. If you still need help, please share more details to us.
Best Regards,
Community Support Team _ Eason
Dear Tahreem24 v-easonf-msft,
Sorry for my late response, its help. But last time I had accept it as solution, might due to my internet issue and cause pages does not run completly.
Thank again Tahreem24 .