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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.