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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tksnota
Post Patron
Post Patron

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 @tksnota 

 

Thanks for the reply from @lbendlin .

 

@tksnota , 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 @tksnota 

 

Thanks for the reply from @lbendlin .

 

@tksnota , 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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.