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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Harry_Tran
Helper III
Helper III

show total number for all matrix row

Hello everyone,

I have a matrix which has region as row procuct as row hierarchy, year as column, and total sale as value.

What I am trying to do is set the values of all products the same number with total.

What I mean is instead of showing 90,629.50 for C, 321,536.50 for E, 846,538.50 for G, and 699,109.00 for J. I would show 1,933,605.00 for all C, E, G, and J. 

Is there anyway to do that?

Thank you o much.

 

Harry_Tran_0-1611156132426.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Harry_Tran 

measure = CALCULATE(sum('table'[total sale]), allexcept('table', 'table'[Region],'table'[year]))

View solution in original post

4 REPLIES 4
Harry_Tran
Helper III
Helper III

Allexcept works for my cenario, thank you so much everyone.

parry2k
Super User
Super User

@Harry_Tran it should be a simple measure like this:

 

//if you want slicer on catc to have the impact on the number
Sum = CALCULATE ( SUM ( 'Table'[Amount] ), ALLSELECTED ( 'Table'[Cat] ) ) 


//if you want don't want slicer on catc to have the impact on the number
Sum = CALCULATE ( SUM ( 'Table'[Amount] ), ALL ( 'Table'[Cat] ) ) 

 

Check my latest blog post Compare Budgeted Scenarios vs. Actuals to get a summary of my favourite Power BI feature releases in 2020

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

HI @Harry_Tran 

measure = CALCULATE(sum('table'[total sale]), allexcept('table', 'table'[Region],'table'[year]))
amitchandak
Super User
Super User

@Harry_Tran , Assume you measure is M1 , which has these values

 

calculate([M1], allexcept(Table, Table[Region]))

or

calculate([M1], filter(allselected(Table), Table[Region] =max(Table[Region]) ))

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.