Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two sets of table as below:
cust_name | A | B | C |
John | 5 | 5 | 3 |
Mary | 3 | ||
Ken | 4 |
cust_name | C | D | E |
John | 2 | 1 | |
Amy | 1 | 4 | |
Julia | 6 | 1 |
How can I combine and sum the column C in visualisation as below:
cust_name | A | B | C | D | E |
Amy | 1 | 4 | |||
John | 5 | 5 | 5 | 1 | |
Julia | 6 | 1 | |||
Ken | 4 | ||||
Mary | 3 |
The two original tables were formed based on different level of breakdown and the level of breakdown does not work parallel with each other. Some of the breakdown will be coincidentally having the same name at a particular level. Thus, is that possible not the append the table, but applying the summation with the same name at the visualization level? Can it also be applied to the same scenario each time i change the level of breakdown?
Solved! Go to Solution.
after appending the queries for tables,you can create a dax query to summarise the data for the same name
HI @Anonymous,
You can also try to use unpivot columns and pivot column function to achieve your requirement.
Sample: create new blank query to store transformed records.
let Source = Table.Combine({Table.UnpivotOtherColumns(#"Table1",{"cust_name"}, "Attribute", "Value"),Table.UnpivotOtherColumns(#"Table2",{"cust_name"}, "Attribute", "Value")}), #"Pivoted Column" = Table.Pivot(Source, List.Distinct(Source[Attribute]), "Attribute", "Value", List.Sum) in #"Pivoted Column"
Regards,
Xiaoxin Sheng
after appending the queries for tables,you can create a dax query to summarise the data for the same name
HI @Anonymous,
You can also try to use unpivot columns and pivot column function to achieve your requirement.
Sample: create new blank query to store transformed records.
let Source = Table.Combine({Table.UnpivotOtherColumns(#"Table1",{"cust_name"}, "Attribute", "Value"),Table.UnpivotOtherColumns(#"Table2",{"cust_name"}, "Attribute", "Value")}), #"Pivoted Column" = Table.Pivot(Source, List.Distinct(Source[Attribute]), "Attribute", "Value", List.Sum) in #"Pivoted Column"
Regards,
Xiaoxin Sheng
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
64 | |
55 | |
53 | |
36 | |
34 |
User | Count |
---|---|
85 | |
73 | |
55 | |
45 | |
43 |