Forum Discussion

Jaweed's avatar
Jaweed
Icon for Helper III rankHelper III
3 years ago

How to get data arranged in this format

Hi all

I have a table1 with columns Comany, Director and  table 2 with columns Company Shareholder.

 

TABLE 1

Company      Director              

X                    D1

X                    D2

X                    D3

Y                    D4

 

TABLE 2

Company    Shareholder

X                 S1

X                 S2

Y                 S3

Y                 S4

Z                 S1

 

My desired output

Company     Director        Shareholder

X                  D1                 S1

X                  D2                 S2

X                  D3

Y                  D4                 S3

Y                                        S4

Z                                        S1

 

Thanks for your valuable assistance.

 

 

2 Replies

  • v-easonf-msft's avatar
    v-easonf-msft
    Icon for Community Support rankCommunity Support

    Hi, Jaweed 

    There is no clear correspondence between  field 'Director' and field 'Shareholder'.

    The following situation may also be one of outputs.

    Company     Director        Shareholder

    X                  D1                 S2

    X                  D2                 S1

    X                  D3

    Y                  D4                 S4

    Y                                        S3

    Z                                        S1

     

    The data in Tables 1 and Table2 may be difficult to combine in PowerBI without a clear basis.

     

    Best Regards,
    Community Support Team _ Eason

    • Jaweed's avatar
      Jaweed
      Icon for Helper III rankHelper III

      Dear Team 

      Thank you. The relation is on Company. The proposed output is fine.

      Appreciate some help

      Best Regards

      jaweed