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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Oros
Post Prodigy
Post Prodigy

Slicer based on calculated column

Hello,

 

I have a calculated column (Net Sold).  How do I create a slicer based on the Net Sold column to filter my product table?  Thanks.

Oros_0-1710701974681.png

 

I would like to add a slicer based on the range of the Net Sold values so that I can add the "Good", "Bad" slicer.

Oros_1-1710702022272.png

 

1 ACCEPTED SOLUTION
MNedix
Super User
Super User

Hi,

You add a new Column with a Switch function. In your case it should be something like:

G/B = SWITCH(
    TRUE(),
    Sheet1[Net Sold]>10,"Good",
    Sheet1[Net Sold]<10,"Bad")

Then, on the Report page, you add the G/B as a Slicer.



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

View solution in original post

2 REPLIES 2
MNedix
Super User
Super User

Hi,

You add a new Column with a Switch function. In your case it should be something like:

G/B = SWITCH(
    TRUE(),
    Sheet1[Net Sold]>10,"Good",
    Sheet1[Net Sold]<10,"Bad")

Then, on the Report page, you add the G/B as a Slicer.



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

Thanks @MNedix 

 

It worked!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors