Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Please help. I have an excel with different fruits and columns with the questions regarding this fruit. All questions are the same for each fruit. For example, is it sweat, is it red and is it black? I have only YES or NO answers in each column. I would like to create a slicer, on which I will choose the needed fruit and on the same page there will be a table with three questions about the fruit. It would be perfect if I can click on fruit at the slicer and see only NO values in the table. For example, I choose an apple and I see that the "is it black" value is NO. All other questions with YES answers may not appear. Then, I click on a banana at the slicer and see the "is it red" value is NO. Thank you for your help.
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Flag =
var _select=SELECTEDVALUE('Table'[fruits])
var _No=CALCULATE(MAX('Table'[YES/NO]),FILTER(ALL('Table'),'Table'[fruits]=_select&&'Table'[Color]=MAX('Table'[Color])))
return
IF(
_No="Yes",0,1)
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Flag =
var _select=SELECTEDVALUE('Table'[fruits])
var _No=CALCULATE(MAX('Table'[YES/NO]),FILTER(ALL('Table'),'Table'[fruits]=_select&&'Table'[Color]=MAX('Table'[Color])))
return
IF(
_No="Yes",0,1)
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous
Create 3 measures as shown below...
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
84 | |
84 | |
73 | |
49 |
User | Count |
---|---|
143 | |
132 | |
110 | |
65 | |
55 |