Forum Discussion
how to combile two tables based on condition
Ohhhhh, I get it now. I was trying to read the green chicken scratch on the picture and apparently came away with the wrong impression of what you wanted. I thought you were saying that you were getting nulls and wanted the values repeated. OK, got it now, let me see what I can do.
hey Greg_Deckler any lead.
- Greg_Deckler8 years ago
Community Champion
Take a look at this thread here:
https://community.powerbi.com/t5/Desktop/joinAlgorithm-and-keyEqualityComparers/td-p/110108
ImkeFor MarcelBeug are probably going to be your best bets I would think.
- ImkeF8 years ago
Community Champion
I would probably do it like so:
1) Add an index-column to your left table as a key
2) Remove duplicates on sno
3) Merge (Left-Outer) - that will match just one row from the lookup-table
4) Merge that back to your source-table on key (with Source on the left): So the removed dups will not get a lookup-match