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

Bar Chart to display grouped percentages per year, instead of percentage over grand total

Hi,

I would like to display grouped percentages as per year, instead of percentages showing as a percentage of the grand total.

So referring to this screenshot below, I would like the percentages on the bar chart for each year to be summed to 100% (row totals)
display percentages (table).png

Currently displayed as grand totals:
wrong table graph.png

But I would like to display the percentages as totals within the year:
right table graph.png


How should I go about writing this through DAX?
(The base measure is 
CALCULATE(
     DISTINCTCOUNT(customer_id)
)

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please refer to https://community.powerbi.com/t5/Desktop/Percentages-to-multi-line-report/m-p/378504#M172040

 

Best Regards,

Dedmon Dai

amitchandak
Super User
Super User

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.