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! Get ahead of the game and start preparing now! Learn more
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! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |