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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
NatureChips
New Member

How to display data as percentage in a gauge visual

Hello! I have the following gauge with the 34 placed in value, and 80 placed in maximum value.

NatureChips_0-1714665939528.png

 

We would like to see this displayed as a percentage, so a 43% out of 100%. However, if I attempt right clicking the values and then clicking on "Show as Percentage of Grand Total" the following happens.

NatureChips_1-1714665972427.png

 

I have also attempted by using the following formula and placing it on the value field:

 

% = FORMAT(DIVIDE([Sum of TrainedEmployees],[%GT Count of TotalEmployees])/100, "0.00%")
 
However, for some reason it will show it as blank despite showing a 34% on the table:
 
NatureChips_2-1714666188649.pngNatureChips_3-1714666195566.png

 

Please note I do NOT have access to Power BI Desktop and can only build from Power BI Services.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NatureChips ,

 

Using Expressions
% = FORMAT(DIVIDE([Sum of TrainedEmployees],[%GT Count of TotalEmployees])/100, "0.00%")
The reason it is not displayed in the gauge visual object is because the format function converts the result to a text format, whereas this visual object expects the result to be in a numeric format.

 

You can change the expression to
DIVIDE([Sum of TrainedEmployees],[%GT Count of TotalEmployees])/100

 

Set the maximum value to 1

vkaiyuemsft_0-1714713460671.png

 

vkaiyuemsft_1-1714713460672.png


If possible, it is recommended that you use power bi desktop, as it is easy to achieve results using its built-in formatting tools.

vkaiyuemsft_2-1714713480090.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

2 REPLIES 2
TomMartens
Super User
Super User

Hey @NatureChips , 

 

in addition to what @Anonymous already mentioned, you can achieve that the callout value is showing up as a percentage while the max value of the gauge still shows as an absolute value.

image.png

 

To achieve this I created two measures, the first one represents the MAX value for the gauge:

 

vizAid max for Callout Value in Gauges = 20000000

 

 

I assigned this measure to the MAX setting of the Gauge:

image.png

 

Then I created a measure that makes the Division:

 

vizAid percent for Callout Value in Gauges = DIVIDE( CALCULATE( SUM( 'FactOnlineSales'[SalesQuantity] ) ) , [vizAid max for Callout Value in Gauges])

 

 

Then you can use this measure with the custom label in the settings of the callout value:

image.png

Finally format the measure as percentage:

TomMartens_0-1714716271082.png

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi @NatureChips ,

 

Using Expressions
% = FORMAT(DIVIDE([Sum of TrainedEmployees],[%GT Count of TotalEmployees])/100, "0.00%")
The reason it is not displayed in the gauge visual object is because the format function converts the result to a text format, whereas this visual object expects the result to be in a numeric format.

 

You can change the expression to
DIVIDE([Sum of TrainedEmployees],[%GT Count of TotalEmployees])/100

 

Set the maximum value to 1

vkaiyuemsft_0-1714713460671.png

 

vkaiyuemsft_1-1714713460672.png


If possible, it is recommended that you use power bi desktop, as it is easy to achieve results using its built-in formatting tools.

vkaiyuemsft_2-1714713480090.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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