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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
StefanBG
New Member

SUMIFS in Power BI

Hi,


Have two tables, want to add column in table 1 based on SUM from a column in table 2.

The column must SUMIFS like excel based on the same row in table 1 and columns in table 2.

Like SUMIFS(Result Column Table 2, Column 1 in Table 2 = value in row in Column 1 in table 1, Column 2 in Table 2 = value in row in Column 2 in table 1, Column 3 in Table 2 = value in row in Column 3 in table 1)

 

So it sums the column from table 2 based on only the rows where these three matches,

So on the row it sums if the Date matches, the Unit matches and the Name matches. A normal SUMIFS with different tables.

Have tried SUMX, Calculate with SUM and filters but can't get it right. Closest is that it equals a specific value, but I want it to equal the value in the row.

 

Could you please help me solve this?

 

Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@StefanBG ,

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@StefanBG ,

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

Thank you for the help!

Stefan

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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