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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
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