Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi All,
I would like to create a slicer with this date set.
Item | Problem A | Problem B | Problem C |
1 | Fail | Fail | Fail |
2 | Pass | Fail | Pass |
3 | Fail | Pass | Fail |
4 | Pass | Pass | Fail |
5 | Fail | Fail | Pass |
I am hoping to build a slicer to see which items are under Problem A or B or C.
For example,
when I select "Problem A' in the slicer, it could filter the failed items: 1,3,5
when I select "Problem B' in the slicer, it could filter the failed items: 1,2,5
when I select "Problem C' in the slicer, it could filter the failed items: 1,3,4
Appreciated if you have any idea.
@ngct1112 In Power Query Editor, select your three problem columns and then right-click and unpivot.
@Greg_Deckler , since my "ProblemA,B,C" columns are built by add column.
Do you have any idea to make it workable by measure?
Thanks
@ngct1112 , Create a measure like
Countrows(Filter(Table, Switch(True() ,
selectedvalues(Slicer[Sclier]) ="Problem A", Table[Problem A] = false() ,
selectedvalues(Slicer[Sclier]) ="Problem B", Table[Problem B] = false() ,
selectedvalues(Slicer[Sclier]) ="Problem C", Table[Problem C] = false()
))
@amitchandak thanks for that, but it seems not working since I just have the dataset which those "Problems" are in different columns. And I could not selectvalue because they are not yet in a slicer.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
82 | |
53 | |
40 | |
35 |