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
VoltesDev
Helper V
Helper V

Bar chart with data label percentage

Hello guys,

 

Need advice with bar chart visual, can we have the data label shows the percentage instead value ?

So, the normal is like this ->

VoltesDev_0-1633964029748.png

So instead the value 9.3k. it is displaying the percentage. Or is there custom visual that can make it the same result ?

 

Thanks

1 ACCEPTED SOLUTION
speedramps
Super User
Super User

Hi VoltesDev

 

Try this and please leave kudos ...

 

  1. Select a table visual instead of a graph.
  2. Drag your category to the Axis
  3. Drag sales twice to the Values field well.
  4. Right click on the 1st sales values > Conditional formatting > Data bars.
  5. Right click on the 2nd sales values > Show values as > Percentage of grand total.

Voila …  you now have both the value, % and a graph !

View solution in original post

7 REPLIES 7
Thennarasu
New Member

Hi,

Thennarasu_0-1672052889823.png
Right Click the Measure Value Change to Percent of grand total and
Measure Value Add in tooltips.

Thanks and Regards,
Thennarasu R

speedramps
Super User
Super User

Hi VoltesDev

 

Try this and please leave kudos ...

 

  1. Select a table visual instead of a graph.
  2. Drag your category to the Axis
  3. Drag sales twice to the Values field well.
  4. Right click on the 1st sales values > Conditional formatting > Data bars.
  5. Right click on the 2nd sales values > Show values as > Percentage of grand total.

Voila …  you now have both the value, % and a graph !

Great solution!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi @speedramps ,

 

Yeah, it is actually a great idea and it's works!.

The only flaws is the data bar can't make it big enough, what I can is just increase the Row Padding to make it lools wide enough. But  anyway it's a good trick!

 

Thanks again

 

 

 

PaulDBrown
Community Champion
Community Champion

You will only be able to show one value as a label, but you can include the other value as a tooltip, or even create a report tooltip to show more insights.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






PaulDBrown
Community Champion
Community Champion

Can't you create a % measure and use that instead in the bar chart?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Ahh.. yaah I'm sorry, what was I thinking just now, of course I can do that 😂

However, is there by any chances we can have both displayed ? 

or can we have two separate chart but control together, so I will 2 chart : one with value and one with percentage, for example in my visual over there is Vertical bar, when it has long list will have vertical scroll control, so we use this scroll, the 2 chart will scroll at the same time. 

 

Thanks,

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!

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.