Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
User | Count |
---|---|
84 | |
79 | |
71 | |
47 | |
42 |
User | Count |
---|---|
109 | |
54 | |
50 | |
40 | |
40 |