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 2 tables. One is the contacts the other is the call records. I want to merge these 2 tables to see who called us most.
The problem is when I merge these 2 tables I got more than 1 mapping results. How can I just expand the first mapping result to the current table?
table A
number | call date | duration |
123 | 1-Jan | 50s |
table B
name | number |
A | 123 |
A1 | 123 |
A2 | 123
|
result
number | call date | duration | expanded row |
123 | 1-Jan | 50s | A |
Solved! Go to Solution.
Hi @MiaZhao,
You are getting more than one result because you have on table B more than 1 line with the match to Table A so when you merge it will get the information from.
I don't know if this works but on table A do a group By and select the number and the aggregator MIN name this will give you only row A then just do the merge with that row.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi,
If there are 3 names against the same number, then you obviously will get moe than 1 mapping record.
Hi @MiaZhao,
You are getting more than one result because you have on table B more than 1 line with the match to Table A so when you merge it will get the information from.
I don't know if this works but on table A do a group By and select the number and the aggregator MIN name this will give you only row A then just do the merge with that row.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks. Brilliant. It is what I want.
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 |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |