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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
WallyWallWal
Helper I
Helper I

Gauge visualization not functioning as intended

Hello!  Newbie here... and first posting!!  

 

I am trying to get the Gauge visualization to work and am having issues.  I read how to get the total count so that it displays.  

 

What I am running into is using two charts, and when clicking on one line of my bar chart, the gauge just gives me the total of that bar, not a count of the total.  Looking for any help and/or suggestions!  I was expecting to see 76 of 2185, but didn't get that.  Thank you for the help!

 

image 1.jpgimage 2.jpgimage 3.jpg

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @WallyWallWal,

 

Please create two measures similar to:

Actual value = SUM(Table[Sales])

Total of all = CALCULATE(SUM(Table[Sales]),ALL(Table))

Add [Actual value] to 'Value' section of Gauge, add [Total of all] to 'Maximum value' section.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @WallyWallWal,

 

Please create two measures similar to:

Actual value = SUM(Table[Sales])

Total of all = CALCULATE(SUM(Table[Sales]),ALL(Table))

Add [Actual value] to 'Value' section of Gauge, add [Total of all] to 'Maximum value' section.

1.PNG

 

Best regards,

Yuliana Gu

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

@v-yulgu-msft If I wanted to change this to a percentage, how do I go about doing that?  Thanks.

Thanks, @v-yulgu-msft!  This truly helped me out and understand how to create the gauge display correctly.  Appreciate the help!

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.