Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Create a Calculated Column/measure from Different Tables

Hi Everyone,

 

The relationship between 2 tables is 1: many.

How can I get the table I would like? Thank you in advance!

 

6 Replies

  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    Community Champion

    hI Anonymous

     

    Use this calculated column in Table A

     

    G =
    DIVIDE ( Table A[E], RELATED ( Table 2[F] ) )
    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks a lot!

      However, after I input "Related", I can't input the column name then. This may be caused by "one to many" relationship.

      Could you have any advices to solve this? Thanks!

      • Zubair_Muhammad's avatar
        Zubair_Muhammad
        Community Champion

        Hi Anonymous

         

        RELATED is used in Many-Side Table to pull information from ONE-SIDE. Its like a VLOOKUP

         

        It works fine when I used your sample data. See the image below