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
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
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.