cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zamoty
New Member

Filter rows based on different tables

Hi,

 

I have a SALES table with many sales informations. And I have an SALES_ITEM table that has the sales items, they are linked by the SALES_ID field.

 

The problem is that in the SALES table I have all the sales from company A and at the SALES_ITEM I have rows from many companys sales.

 

How may I use SALES_ITEM table values, just from orders that exist in the SALES table?

 

Thanks.

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @zamoty,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample and your desired output so that we could help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rajendran
Community Champion
Community Champion

Hi @zamoty 

 

Use the RELATED function to refer the column from other table.

 

Thanks

Raj

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.