Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Slicer Using Colour

 

Hi,

 

Is it possible to create slicer using colour see screenshot?

 

Regards,

 

Noel

 

tksnota_0-1718266370727.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

Thanks for the reply from @lbendlin .

 

@Anonymous , are you trying to use the color directly as a slicer? I'm afraid that's not directly possible.

 

From your screenshot, there are three ranges, namely greater than 0, between -5 and 0, and less than -5. Here is a simple test I created for your reference:

 

My sample:

vxuxinyimsft_0-1719994855485.png

 

Then I created a calculated column as follows.

 

Column = SWITCH(TRUE(),
[Value] > 0, "> 0",
[Value] <= 0 && [Value] >= -5, "-5 - 0",
[Value] <-5, "< -5")

 

 

use this column as a slicer:

vxuxinyimsft_1-1719994900067.png

 

Output:

vxuxinyimsft_2-1719994926672.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

Thanks for the reply from @lbendlin .

 

@Anonymous , are you trying to use the color directly as a slicer? I'm afraid that's not directly possible.

 

From your screenshot, there are three ranges, namely greater than 0, between -5 and 0, and less than -5. Here is a simple test I created for your reference:

 

My sample:

vxuxinyimsft_0-1719994855485.png

 

Then I created a calculated column as follows.

 

Column = SWITCH(TRUE(),
[Value] > 0, "> 0",
[Value] <= 0 && [Value] >= -5, "-5 - 0",
[Value] <-5, "< -5")

 

 

use this column as a slicer:

vxuxinyimsft_1-1719994900067.png

 

Output:

vxuxinyimsft_2-1719994926672.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

That's a table visual, not a slicer?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.