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

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors