The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I am trying to create custom slicers that allow me to select a "category" instead of a cell value.
This is what I have currently:
a | b | c |
a1 | b1 | c1 |
a2 | b2 | c2 |
a3 | b3 | c3 |
a4 | b4 | c4 |
a5 | b5 | c5 |
a6 | b6 | c6 |
Suppose b1, b2, b5 belong to "Category 1", b3 and b6 belong to "Category 2", and b4 is "Category 3". I want to create a slicer that has 3 options: Categories 1, 2, and 3, such that it filters my table based on the selected category/categories.
For example, if I select Category 1, the output should be:
a | b | c |
a1 | b1 | c1 |
a2 | b2 | c2 |
a5 | b5 | c5 |
How can I achieve this?
Thank you. Really appreciate your help!
Solved! Go to Solution.
hello @Anonymous
please check if this accomodate your need.
1. create a calculated column for categories.
2. plot your data in table visual and the category column in slicer.
Hope this will help you.
Thank you.
hello @Anonymous
please check if this accomodate your need.
1. create a calculated column for categories.
2. plot your data in table visual and the category column in slicer.
Hope this will help you.
Thank you.
Yes, this worked perfect. Thank you so much!
hello @Anonymous
glad to be a help.
Thank you.
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |