Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Here is my data:
| Column A | Column B |
| Car 1 | Light Green |
| Car 2 | Dark Green |
| Car 3 | Greenish |
| Car 4 | Azure |
| Car 5 | Other |
| Car 6 | Blue |
I would like to create a slicer that can filter out different Green cars or different Blue cars for example.
Is there a way in powrebi to create custom filters on a slicer? I tried creating a measure but it doesnt seem to work on a slicer...
Something in this way
IF Column B = "Azure" or Column B ="Blue" THEN "Blue" (so on the slicer I have Blue option that will filter based on the conditions)
IF Column B="Light Green" or Columnb ="Greenish" .... THEN "Green" (so on the slicer I have green option that will filter based on provided conditions.)
Solved! Go to Solution.
You could create a calculated column as
Colour = SWITCH( TRUE(),
'Table'[Column B] IN { "Azure", "Blue" }, "Blue",
'Table'[Column B] IN { "Green", "Greenish" }, "Green"
)and then use the new column for slicing and dicing.
You could create a calculated column as
Colour = SWITCH( TRUE(),
'Table'[Column B] IN { "Azure", "Blue" }, "Blue",
'Table'[Column B] IN { "Green", "Greenish" }, "Green"
)and then use the new column for slicing and dicing.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |