Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi All,
I have two tabel
table1
| Product Code | Scarp code | Part Code | Year_Month |
| 0101A | TYT | EBC | 2023.01 |
| 0101A | EYT | GBC | 2023.01 |
table2
| ProductCode | PartCode | Qty | Scrapqty |
| 0101A | EYT | 5 | 3 |
relation table1.productcode = table2.productcode
I would like to get like below ,
| YearMonth | ProductCode | PartCode | Total Qty | Total Scrap |
| 2023.01 | 0101A | EYT | 5 | 3 |
Can you assist?
Thx
Solved! Go to Solution.
Hi @OzgurKlc,
You can merged both tables in power query using 2 common fields between them: Product Code and Scarp/Part Code. Then just expand both quantity columns and apply any transformation steps if needed
Hi @OzgurKlc,
You can merged both tables in power query using 2 common fields between them: Product Code and Scarp/Part Code. Then just expand both quantity columns and apply any transformation steps if needed
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 30 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 64 | |
| 38 | |
| 31 |