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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Add TOTAL from different tables

Hi,

 

I created this matrix in Power BI Desktop that contains the number of a KPI for each sales office. Each column comes from a different table (source). I created a new table in order to have relationships between, since some tables doesn't have the same countries. That table have the name of all Sales Offices (countries) that relates to the other tables and are related with the "Sales Office" field, and that table is the one that appears in the rows.

 

I do have a total for each column. But what I need to do is create a Total that sums the total for each sales office (country), the typical total that appears in the right end. For instance , in the first row, I need to sum the following numbers: 0,0,38,21,0,41,117,23,0,0 and so on.

How could I do that?

 

Thanks in advance!

Print.jpg

 

Print2.jpg

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

You would create a measure that would sum all of those different things up. If they are columns:

 

SUM('Table'[Column]) + SUM('Table1'[Column1]) + ...

 

Then just put that measure in your matrix perhaps. 

 

Really hard to say because no idea really how your matrix is laid out or your source data, etc. 



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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors