Forum Discussion

HZAFAR's avatar
HZAFAR
Regular Visitor
3 years ago
Solved

Power Query Function (SUMIF)

Hi Expert   I am working in Power Query on Data ( more than 5 files). And I am using one data file (sample table 1) as a base file having a unique ID and want to bring other information from other ...
  • m_dekorte's avatar
    3 years ago

    Hi HZAFAR,

     

    You can achieve this with the User Interface.

     

    First go to Table2, select Group By on the ribbon

    Set the UID as Key and add aggregations for all other fields (Important! When you have multiple tables, use the Append queries first so you get 1 large table BEFORE this Group By transformation).

     

    Go to Table1, select Merge queries on the ribbon, select UID columns as key in both tables

    And finally expand the aggregate columns from the nested table

    Done

     

    Ps. If this helps solve your query please mark this post as Solution, thanks!