cancel
Showing results for 
Search instead for 
Did you mean: 
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
Helper I
Helper 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

5 REPLIES 5
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

 

Helper I
Helper 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

Super User IV
Super User IV

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


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors