Forum Discussion

NahuelK's avatar
NahuelK
New Member
1 year ago
Solved

Referencing one Table with Another

Hi all! My problem is as follows: I have two tables: Table1 ID Attribute 1 Attribute 2 Attribute 3 1 x1 r1 z4 2 x4 r1 z2 3 x4 r4 z4   Table2 Attributecode Refe...
  • BhavinVyas3003's avatar
    1 year ago
    1. Load Table1 and Table2 into Power Query.
    2. Unpivot Table1:

    Select Attribute 1, Attribute 2, Attribute 3 → Right-click → Unpivot Columns.

    1. Merge with Table2:

    Merge on Value (from Table1) and Attributecode (from Table2) → Left Join.

    1. Expand the Reference column from Table2.
    2. Pivot back:

    Select Attribute column → Pivot Column → Use Reference as values.