Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello,
I'm trying to provide a solution for the below in power query. I have two tables.
1. Payments Table shows all of the expected payments/deliverable that will be due.
2. Bank accounts table shows the bank account information related to each possible expected payment/deliverable that will occur in payments table. Some payments/deliverables will only have a transaction in 1 bank account, thus 1 rows of data in this tables and others may affect 2 (or more) bank accounts, thus they will have 2 (or more) rows of data in this table.
For all of the payments/deliverables in table 1, I want to relist these payments/deliverables with the ALL corresponding bank account table records that match the ID, whether just 1 line (ID: CX01) or 2 or more lines (ID: CX02).
This is a very small sample size is very small , but the same logic will apply to a much larger data set.
The final output I would like will be something like the New Output Table
Solved! Go to Solution.
Hi @merkle09 ,
joining both tables on their first 3 columns should do the job here:
Start with the first table (on the left side) and then join the second one to it, using ID, Company and Deliverable as the join columns.
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
This worked perfect, thanks!
Hi @merkle09 ,
joining both tables on their first 3 columns should do the job here:
Start with the first table (on the left side) and then join the second one to it, using ID, Company and Deliverable as the join columns.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
31 | |
29 | |
19 | |
15 | |
12 |
User | Count |
---|---|
20 | |
18 | |
13 | |
10 | |
10 |