Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
| User | Count |
|---|---|
| 53 | |
| 42 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |