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
daniellf
Frequent Visitor

Dynamic Target

Hi all!

 

I'm showing some results compared to a target in a gauge visual, however I would like to make the target only show when very specific filter options are selected - is there a way to do that through measures? For example, we are displaying the results for populations A through Z, but I only want the target to show if A - D are selected, it cannot be just A, just B, or any other combination. 

 

Also, my target value right now is just the average of a column in my report - could I create a dynamic target that responds to more than one filter and is easier to adjust (right now I just make sure the column is averaging the way I need but this is manual)?

 

Any tips or ideas would be great! Thanks 🙂

1 ACCEPTED SOLUTION
DataZoe
Microsoft Employee
Microsoft Employee

@daniellf ,
you could do this by using the quick measures concatenate then checking to see if it's concatenated the values in the right combination to find the combination.  Using that info, you can create a target with an if statement to change it out when it's found.

 

Target =
if([List of Slicer values] = "A, B, C, D",
80,
[All Average])


I've attached a PBIX with this so you can see!

DataZoe_0-1627088720681.png

 



Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

View solution in original post

1 REPLY 1
DataZoe
Microsoft Employee
Microsoft Employee

@daniellf ,
you could do this by using the quick measures concatenate then checking to see if it's concatenated the values in the right combination to find the combination.  Using that info, you can create a target with an if statement to change it out when it's found.

 

Target =
if([List of Slicer values] = "A, B, C, D",
80,
[All Average])


I've attached a PBIX with this so you can see!

DataZoe_0-1627088720681.png

 



Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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