Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a slicer with a list of Product ID (eg) : TV, FRIDGE, AC, WASHER, BAG, BOOKS, PENCIL etc
I want to group the values and have only the grouped header in the slicer
HOME APPLIANCES which should include (TV, FRIDGE, AC, WASHER) and
SCHOOL which should include (BAG, BOOKS, PENCIL)
My output slicer should contain only HOME APPLIANCES AND SCHOOL.
Please let me know how to achieve this.
Solved! Go to Solution.
Hi @AishwaryaS ,
The best which I could suggest is to create a new column with switch condition as below and use it in the slicer.:-
column =
SWITCH (
TRUE (),
[product list] IN { "TV", "FRIDGE", "AC", "WASHER" }, "HOME APPLIANCES ",
[product list] IN { "BAG", "BOOKS", "PENCIL" }, "SCHOOL"
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @AishwaryaS ,
The best which I could suggest is to create a new column with switch condition as below and use it in the slicer.:-
column =
SWITCH (
TRUE (),
[product list] IN { "TV", "FRIDGE", "AC", "WASHER" }, "HOME APPLIANCES ",
[product list] IN { "BAG", "BOOKS", "PENCIL" }, "SCHOOL"
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |