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
Anonymous
Not applicable

Display number and percentage at same time in bar chart

Hi,

 

I have a barchart and I like the numbers to be shown as 57% (120), where 57% is some calculation (not stacked!) and 120 is the number of observations.

 

Is this possible?

1 ACCEPTED SOLUTION
bizbi
Advocate I
Advocate I

Not aware of a direct method but a possible workaround may be to use a Measure as a tooltip:

 

Measure=[M1] & " (" & [M2] & ")"

where [M1]=percentage measure and [M2]=count measure

 

Hope this helps!

View solution in original post

6 REPLIES 6
Amratya
Helper I
Helper I

you can do it in the Pie chart from the label style

choose Data value, Percentage of total

labelstyle.png

 

couldn't find it in the bar chart

Anonymous
Not applicable

It would be great if that feature is added to bar chart too!

Anonymous
Not applicable

Hi, 

I have been trying do the same thing -  has there been an update on this?

 

"Looking to create a visual report in Power BI to compare the number of times people have picked a category. Due to the number of categories to compare(7) I have tried using the Bar Chart. The only issue is I want to display the data with the count of picks and the percentages of that pick as part as a total.

Is there a way I could do this in Bar chart?"

I could do this in Pie chart but it seems like the bar chart could only allow you to do one or the other

 

bizbi
Advocate I
Advocate I

Not aware of a direct method but a possible workaround may be to use a Measure as a tooltip:

 

Measure=[M1] & " (" & [M2] & ")"

where [M1]=percentage measure and [M2]=count measure

 

Hope this helps!

Why are we marking "Closest Answers to the solution but not the solution to the question" as a solution. What purpose does it solve?


The correct solution should be of @Greg_Deckler "As a tooltip yes but I don't think in the actual chart itself."

Secondly, coming to the solution of the "tooltip measure" by concatenating, that's not even required. Just drag and drop the "values" and "percent of total". It will show as a tooltip as such.

Greg_Deckler
Super User
Super User

As a tooltip yes but I don't think in the actual chart itself.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.