We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Good morning,
I am getting a strange effect when I try to do a merge using a left outer join.
I have my facts table and I am trying to look up certain descriptives from a certain dimensions table using a left outer join in power query.
Before I do the merge, my numbers are ok, but after I do the merge, my numbers seem to be multiplied .
I am trying to merge on a text column with which is a unique account code in the dimensions table.
What could I be missing that produces this sort of multiplier effect. I dont want the figure in the facts table to be multiplied
Thank you for any assistance.
Regards
Herbz
Solved! Go to Solution.
Hi @Anonymous ,
unlike the VLOOKUP in Excel, a left outer join in Power Query will return multiple values and therefore duplicate your fact table rows if there are multiple matches in the lookup table.
To prevent this, you can remove duplicates on the merge-column(s) of the lookup table before the join.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @Anonymous ,
unlike the VLOOKUP in Excel, a left outer join in Power Query will return multiple values and therefore duplicate your fact table rows if there are multiple matches in the lookup table.
To prevent this, you can remove duplicates on the merge-column(s) of the lookup table before the join.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |