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
I am doing a some table merging. However, I do not need all the records from the second table, I only need the first record or the max depending on the scenario. Can Merge accomplish this? If so what additional steps do I need to do before, during or after the merge? If there is a better solution than a Merge, please provide it.
Below is an example:
Solved! Go to Solution.
Hi @LarryAlx ,
While merging,select "left outer" as the Join Kind:
After that,go to append table and choose "Aggregate">select "Maximun" or "Minimum" of column "Contract Line Item":
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Hi @LarryAlx ,
While merging,select "left outer" as the Join Kind:
After that,go to append table and choose "Aggregate">select "Maximun" or "Minimum" of column "Contract Line Item":
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
I would do a Group By on the ID column on your Right Table, choosing Max as the aggregation on the line item column. You can then merge either table into the other.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Instead of merging, try Group By. The default GUI interface provides options to Group By Max or Group by Min.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |