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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Turquesa
Frequent Visitor

Clustered Column Chart - % Row Total

Hi Community!

I need help with a clutered column chart! I would like to show in the chart the invoices received by month (month X-axis) and I have added some invoice buckets in the Y-axis. At the moment I have achieved to display the info showing the number invoices but I would like to show the values as a % of row total (i.e. Jan-23, buket 1: 30%, bucket 2:50%, bucket 3:20%) but I can only find the option of grand total.

 

I would like to also do this in a matrix table. Please note that some invoices don't have an invoice bucket (cells are blank). I would appreciate if you could help me out with this! I'm fairly new to Power BI.

 

Many thanks in advance!

 

 

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

Create a Calendar Table with calculated column formulas for Year, Month name and Month number.  Sort the Month name by the Month number.  Create a relationship (Many to One and Single) from the Date column in your Data Table to the Date column in the Calendar Table.  To your visual/slicer/filter, drad year and Month name from the Calendar Table.  Assuming you already have a bucket column in your base data table, write these measures

Total = sum(Data[Invoice value])

Total across all buckets = calculate([Total],all(Data[buckets]))

Proportion = divide([Total],[Total across all buckets])

For the proportion measure as a %.  Drag the proportion measure to your visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

v-junyant-msft
Community Support
Community Support

Hi @Turquesa ,

I can provide you two solutions:
The first solution:
Put both of the "Month" and "Bucket" into X-axis:

vjunyantmsft_0-1707098170707.png

Modify the display of Value to %:

vjunyantmsft_1-1707098217207.png

Click here:

vjunyantmsft_2-1707098265528.pngvjunyantmsft_3-1707098289021.png

When you want to see the percentage of each Bucket each Month, please follow the chart below:
For example, I want to see the Month 1, click 1 and click 2:

vjunyantmsft_5-1707098455697.png

The final output is below:

vjunyantmsft_7-1707098526256.png


The second solution:
Choose this visual:

vjunyantmsft_8-1707098594747.png

vjunyantmsft_9-1707098628983.png

 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-junyant-msft
Community Support
Community Support

Hi @Turquesa ,

I can provide you two solutions:
The first solution:
Put both of the "Month" and "Bucket" into X-axis:

vjunyantmsft_0-1707098170707.png

Modify the display of Value to %:

vjunyantmsft_1-1707098217207.png

Click here:

vjunyantmsft_2-1707098265528.pngvjunyantmsft_3-1707098289021.png

When you want to see the percentage of each Bucket each Month, please follow the chart below:
For example, I want to see the Month 1, click 1 and click 2:

vjunyantmsft_5-1707098455697.png

The final output is below:

vjunyantmsft_7-1707098526256.png


The second solution:
Choose this visual:

vjunyantmsft_8-1707098594747.png

vjunyantmsft_9-1707098628983.png

 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Create a Calendar Table with calculated column formulas for Year, Month name and Month number.  Sort the Month name by the Month number.  Create a relationship (Many to One and Single) from the Date column in your Data Table to the Date column in the Calendar Table.  To your visual/slicer/filter, drad year and Month name from the Calendar Table.  Assuming you already have a bucket column in your base data table, write these measures

Total = sum(Data[Invoice value])

Total across all buckets = calculate([Total],all(Data[buckets]))

Proportion = divide([Total],[Total across all buckets])

For the proportion measure as a %.  Drag the proportion measure to your visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Daniel29195
Super User
Super User

@Turquesa

 

im not sure what your requirement . 

visual representation of your requirement would be helpful . 

 

best regards. 

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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