Forum Discussion

sboobar's avatar
sboobar
Frequent Visitor
3 years ago
Solved

Merge 2 Tables matching date column and Index column

I have two tables/queries in Power BI that are already matched by an similar index column, however, both tables show daily data with different columns. I'm trying to figure out how to combined these ...
  • v-jingzhang's avatar
    3 years ago

    Hi sboobar 

     

    This is easy with the Merge Queries feature in Power Query. Merge queries overview - Power Query | Microsoft Learn

    Click on "Merge Queries" to open the Merge window, hold on "Ctrl" key on keyboard and select both Date and Index columns as the matching columns in two tables. Select "Full Outer" join kind in case that some row is missing in one table. Click "OK". 

    You will have a result similar to below. A new "Table 2" column appears. 

    Click the expand icon on "Table 2" column header and select only "Red" column to expand to the table. You will have the expected result then. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.