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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors