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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
VoltesDev
Helper IV
Helper IV

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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