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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors