Forum Discussion
bluetronics
3 years agoHelper III
How to use switch function
Hello All, Anyone can teach me how to get the result withot filter like below: Dax that I typed in: Customer_80-20 = SWITCH(true(), Sheet1[Cumulated % of Customer] <=0.8, "80"...
- 3 years ago
Hi bluetronics ,
Please try the measure.
Measure = CALCULATE( [Customer_80-20], ALLSELECTED(Sheet1[Product])) & "-" & CALCULATE([Product_80-20], ALLSELECTED(Sheet1[Customer]))
bluetronics
3 years agoHelper III
Link of Power BI file sample for the test run. Thank you for coaching me in advance if you know the solution.
- v-kkf-msft3 years agoCommunity Support
Hi bluetronics ,
Please try the measure.
Measure = CALCULATE( [Customer_80-20], ALLSELECTED(Sheet1[Product])) & "-" & CALCULATE([Product_80-20], ALLSELECTED(Sheet1[Customer]))- bluetronics3 years agoHelper III
Hi v-kkf-msft,
Thank you for providing me a solution. it works perfectly.
Best Regards,