This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 57 | |
| 31 | |
| 29 | |
| 22 |