cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JDU
Helper I
Helper I

Filtered sum between two tables

Hello everyone, I would like to ask you again for your support in finding a solution that I cannot see.
Context: I have two tables perfectly related to each other, one of them contains three columns with ID data, values and the criteria for filtering and the other one only the IDs (only some are repeated from the other table).
Problem: I need the second table (the one with only the IDs) to go and find filtered data from the first table and also add them up, but only the IDs from the second table since they are related.
I hope to be clear, if not, please tell me and I will explain it again. Thanks again.

 

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @JDU  - it would definitely be easier if you had sample data or a sample report file, but it sounds like you just might need to use NATURALINNERJOIN to calculate a table and then summarize it.  See description of the function here: https://dax.guide/naturalinnerjoin/ 

 

Hope this helps

David

Helpful resources

Announcements
Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Top Solution Authors
Top Kudoed Authors