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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 111 | |
| 50 | |
| 33 | |
| 29 |