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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ROG
Responsive Resident
Responsive Resident

filter in a shape needed.

Hey guys,

 

I have some shapes which I use as traffic lights based on the variance, and one them needs to be filtered for a specific channel. Since it's not possible to add a filter to a shape, what would be my option? Note: I cannot add filter to the page as it would make others visuals wrong.

ROG_0-1685962802390.png

 

Thanks in advance.

1 ACCEPTED SOLUTION
ROG
Responsive Resident
Responsive Resident

Hi all, I figured out a way to add a filter with a pai chart. You just need to create 3 metrics based on RAG.

 

1st metric with a logic to glad number below the target. RED

KPI colourR TopUps = IF([KPI Var TopUps] <-0.05, 1,0)
 
2nd logic to flag numbers on the target AMBER
KPI colourA TopUps = IF([KPI Var TopUps]>=-0.1 &&[KPI Var TopUps] <0 ,1,0)

3rd logis is for numbers greater than zero. Which would be GREEN.

Once you have these thre metrics, you can add them to the slicers in the PIE chart, and add the respective colours. 

View solution in original post

1 REPLY 1
ROG
Responsive Resident
Responsive Resident

Hi all, I figured out a way to add a filter with a pai chart. You just need to create 3 metrics based on RAG.

 

1st metric with a logic to glad number below the target. RED

KPI colourR TopUps = IF([KPI Var TopUps] <-0.05, 1,0)
 
2nd logic to flag numbers on the target AMBER
KPI colourA TopUps = IF([KPI Var TopUps]>=-0.1 &&[KPI Var TopUps] <0 ,1,0)

3rd logis is for numbers greater than zero. Which would be GREEN.

Once you have these thre metrics, you can add them to the slicers in the PIE chart, and add the respective colours. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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