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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Working with the Gauge visual

Hello Community, 

 

Having trouble to get my guage visual to show me what I need.   I have this table below.   The last column is not a measure, it is just the same column as the 2nd column but showing the % of the column total.  

 

What I am trying to do is to use the standard gauge visual to show the first metric  (don't care about the other three).   Against a KPI of 95%.  

 

In other words, the gauge should show that relative to the first metric below which is the only one we really care about, we are at 71.31%  but the target KPI is 95%.    Any guidance on how to set this up?

 

texmexdragon_0-1614889056206.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Based on your description, you can create some measures as follows.

total_shipment = CALCULATE(SUM('measure_gauge'[shipment]),ALLEXCEPT(measure_gauge,measure_gauge[Order]))
%_total = [total_shipment]/CALCULATE(SUM(measure_gauge[shipment]),ALL())
Target = 0.95
And then create a Gauge visual.
 
Result:

v-yuaj-msft_0-1615802008300.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Based on your description, you can create some measures as follows.

total_shipment = CALCULATE(SUM('measure_gauge'[shipment]),ALLEXCEPT(measure_gauge,measure_gauge[Order]))
%_total = [total_shipment]/CALCULATE(SUM(measure_gauge[shipment]),ALL())
Target = 0.95
And then create a Gauge visual.
 
Result:

v-yuaj-msft_0-1615802008300.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Download PBIX with solution

 

I've had to create dummy data but it should work for you when modified to suit your data.

Create measures for the Target and the Metric

 

Target = 0.95
Four Days or Less = DIVIDE( CALCULATE(MAX('Table'[Total Shipments (Order Count)]), FILTER('Table', CONTAINSSTRING('Table'[Order to Ship Weekday Count], "A.")) ) , SUM('Table'[Total Shipments (Order Count)]) )

 

 

Put these into the Value and Target Value

viz.png

gauge1.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hi @PhilipTreacy 

 

Yes, I did start another post but framed in a slightly different way (about the measure itself).   Your help was great, but in it you used a calculated column to define the qty.   My data, which I unfortunately can't upload, is based on a measure.  I just need to somehow modify your version to account for a measure rather than a calculated column and again, just looking at "A" as that is the only metric we are putting the KPI against. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.