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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

sum of rows

Hi, I want to sum some rows but the output format is a bit complicated (see below).

The input data format looks almost like the photo (except for the bolded rows, because that should be the outcome of the summation). The formula for summation is in Column 2 (for example, #4 will be the sum of #1, 2, 3). The output format should look like the photo as well.

 

The problem I am having is:

- PowerBI Matrix will show the row total, but only for #4 and #8. For figures on #9, #15, etc, I don't know how to any more. I can sum #1 to #7 to get #9, but then I don't know how PowerBI can show the result as the desired format.

 

It sounds so simple but I still can't figure it out 😅. Can anyone kindly help please? Thank you!

chilvo_3-1627302888086.png

 

P.s: I had to keep it general as it is internal data. But I hope that's enough for you to imagine what I am trying to do and what trouble I'm having.

 

Kind regards,

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Anonymous See if this helps: https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-Roll/m-p/411443#M150



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you @Greg_Deckler for the suggestion!

Greg_Deckler
Community Champion
Community Champion

@Anonymous See if this helps: https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-Roll/m-p/411443#M150



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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