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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
abhishek-93
New Member

How to Set Gauge Target?

Hi,

 

I have made a Gauge showing total sales MTD,QTD,YTD using Measures, now I want to show the target inoin gauge same like MTD, QTD & YTD. Can someone guide me.

 

Thanks in advance

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @abhishek-93 ,

 

You could create a slicer table which includes "MTD","QTD","YTD".

2-1.PNG

Then create a measure to show the value.

Measure =
VAR a = [MTD]
VAR b = [QTD]
VAR c = [YTD]
VAR d =
    SELECTEDVALUE ( 'Slicer'[Column] )
RETURN
    SWITCH ( d, "MTD", a, "QTD", b, "YTD", c )

As to target value, you could also refer to the measure above.

When you select "MTD" in slicer, the gauge will show total sales MTD and its target value.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi, @v-eachen-msft ,

 

I am already using date slicer to show the gauge, do you think we should use slicer again?

Anonymous
Not applicable

Hi, 

Can you please clarify what your target is and maybe provide some sample data and a sample of what your want your output to look like?

The guage visual only accepts one value, so are you wanting 3 guages one for YTD, QTD, MTD?

 

Thanks,

Kim 

Hi Kimberly_MT,

 

I have made 3 different Gauge showing  MTD, QTD & YTD of total unit sold.

 

now I want to set the target likewise MTD QTD & YTD so that when I select the date It shows me the unit sold and the target of that year.Gauge.JPG

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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