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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Nobie
Helper II
Helper II

Sub Row total

Hi ,
I have a simple requiremet to add a measure as row subtotal.
I am creating a matrix in Power Bi, where I need a measure.

In product name the first one is refrigerator whose sum of all equipments is 67,

so new measure total by product name should display only 67.
Moreover if I filter any equipment like removing a for refrigerator the measure should

display 67-12=55 value.
 

Nobie_0-1682477515223.png

I tried to use calculate( sum(table[price]), removefilters(table[equipment]) and
                     calculate( sum(table[price]), allexcept(table[equipment]) but didn;t work.
Thanks  for Help
Nobie.

 

4 REPLIES 4
Nobie
Helper II
Helper II

thanks, i got the solution we can normaly do with dax 

calculate( sum(table[price]), allselect(table[equipment]))

VijayP
Community Champion
Community Champion

@Nobie 

Please let me know whether you want this result as per the file attached

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


thanks, i got the solution we can normaly do with dax 

calculate( sum(table[price]), allselect(table[equipment]))

rajulshah
Resident Rockstar
Resident Rockstar

@Nobie 

 

Power BI does this implicitly, I don't think you would need to add any extra DAX functions here.
You can just use SUM and you would be able to get the required value in MATRIX in Power BI

 

Please let me know if this is not working. You can provide the screenshot or sample data.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors