Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a DimStore dimension table that has a list of Store names (see below for example). I am trying to create a grouping that has all stores except for Store 99, and a grouping of all Stores. The end result is to have a slicer/filter that has 2 options:
1. All Stores
2. All Stores Excluding Store 99
STORE LIST:
Store 1
Store 2
Store 3
Store 4
Store 5
Store 6
Store 99
Store 7
Store 8
Store 9
Store 10
I have tried the 'New Group' feature, and can create a grouping that contains all stores except for Store 99, but then can't create a grouping that includes Store 99, since Store 99 is only item left in Ungrouped values. Any suggestions on best way to accomplish this would be appreciated.
hi, @RickAll
For the 'New Group' feature, It's like adding a calculate column, since you had added a group (tag) for all stores except for Store 99, now there only is Store 99 could be added group.
Now you could try these two ways:
1.
Use the 'New Group' feature to add another group "All Stores" again.
Then download a custom visual "HierarchySlicer" from marketplace and then drag the two group (fields) into it.
2.
In Edit Queries, duplicate the basic table
Then use the same logic to add two columns.
Then unpivot the Level1 and Level2 and apply and close.
Now create the relationship between table and duplicate table by STORE LIST column and set cross filter direction is "Both"
Set Value field as a slicer.
and here is pbix file, please try it.
Best Regards,
Lin
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
104 | |
87 | |
35 | |
35 |
User | Count |
---|---|
152 | |
98 | |
81 | |
61 | |
55 |