Forum Discussion

willq's avatar
willq
New Member
2 years ago
Solved

Aggregating values from different tables to create visual with one table

Hi, I am new to power bi and would like to know if this can be done and how to do it. I stumbled across a SUMX, Union, and Filter but I'm not sure if that's correct? Any guidance on this would be he...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Looking at your 3 tables, it seems like they use a common structure of Entity_ID, DMCC, and Paid_Amount.

    Rather than have 3 tables, you can set up your Power Query (Transform data) to append all 3 tables into a new single table.  Then you can mark the original tables as "Enable Load = False" and only import the resulting single table into Power BI.

     

    You can do this on the home menu of transform data where you select "Append Queries as new"

     

    Append queries - Power Query | Microsoft Learn

  • Jihwan_Kim's avatar
    2 years ago

    Hi,

    One of ways is to create append table in Power Query Editor, like below, and load it to Power BI desktop.

    Please check the below picture and the attached pbix file.

    Table.Combine - PowerQuery M | Microsoft Learn

     

    let
        Source = Table.Combine({#"Table 1", #"Table 2", #"Table 3"})
    in
        Source