Forum Discussion
bluetronics
Helper III
3 years agoHow 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
Helper III
3 years agoLink of Power BI file sample for the test run. Thank you for coaching me in advance if you know the solution.
v-kkf-msft
Community Support
3 years agoHi bluetronics ,
Please try the measure.
Measure = CALCULATE( [Customer_80-20], ALLSELECTED(Sheet1[Product])) & "-" & CALCULATE([Product_80-20], ALLSELECTED(Sheet1[Customer]))
- bluetronics3 years ago
Helper III
Hi v-kkf-msft,
Thank you for providing me a solution. it works perfectly.
Best Regards,