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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BotBot1
Helper III
Helper III

Matrix Sum of Rows

Hi,

 

I am trying to get the totals of my matrix rows. I have a 'Client Name' underneath the top 'Opportunity Name' row within my matrix. If I expand the matrix I get all the correct values for each client of the 'Opportunity', but I need the total for the top category (the opportunity name). Please see the photos below for better clarity:

BotBot1_1-1681396784415.png

After expanding:

BotBot1_0-1681396711459.png

 

Sq FT at the moment is a DAX which is SqFT = SELECTEDVALUE(Project[ProjectSize]). It is just the project size variable but I needed it as a DAX for reformatting purposes. Please let me know if any further information is needed, thanks.

1 ACCEPTED SOLUTION
olgad
Super User
Super User

Hi, turn on the row subtotals

olgad_0-1681398123848.png

 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

View solution in original post

3 REPLIES 3
olgad
Super User
Super User

I am not sure, why cant it just be SUM(Project Size) and shall be selected value, but you can calculate as follows

Measure=if(ISINSCOPE(Project[Project ]),  SqFT, Sum(Project[Project Size]))
olgad_0-1681398985136.png

 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime
olgad
Super User
Super User

Hi, turn on the row subtotals

olgad_0-1681398123848.png

 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Hi @olgad, it is still blank after turning it on

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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