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
MarkRoosemont
Regular Visitor

add a total category to clustered bar chart

Hi,

 

I'm looking for a solution to add a total bar to each cluster. So I have a dataset that I display as a bar chart. There are 2 categories. I'd like to display their total as well. So per cluster a third category which would be the total of the 2 other categories. Example: first entry: copil (4), pil (6), total (10)

Is this possible? 

Thanks a lot

 

image.png

1 ACCEPTED SOLUTION
5 REPLIES 5
MarkRoosemont
Regular Visitor

Thanks all, for the replies. Maybe the solution is really a matrix, but that's a bit too complicated for me. But thanks anyways. 

v-jingzhang
Community Support
Community Support

Hi @MarkRoosemont 

You could try creating a measure to add the sums together and putting it in the chart as values. Something like below.

 

Total = SUM('Table'[Cost 1]) + SUM('Table'[Cost 2])

 

10261.jpg

Best Regards,

Community Support Team _ Jing Zhang

If this post helps, please consider Accept it as the solution to help other members find it.

amitchandak
Super User
Super User

@MarkRoosemont , No Unless you can add that your measure or create a table to add values and total and display that.

@amitchandak Sorry I'm afraid I do not understand what you mean by that 😕

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.