Forum Discussion

zamoty's avatar
zamoty
New Member
7 years ago

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi zamoty 

     

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

     

    Thanks

    Raj

  • v-piga-msft's avatar
    v-piga-msft
    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