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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

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