Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
Previously I merger SAP_PPT_EV_ProductionOrderConfirmationAdd (3) with SAP_PPT_EV_MaterialDocument_TotalGR by production order to get the total GR and the table show as below. Do you have any possible formulation to get only 1 row of value for each production order after the merge process?
Currently with this data, I'm getting the wrong data since Powerbi will sum the Total GR / count the Total GR. Is there any way so that I can the right data which is not sum & not count.
SAP_PPT_EV_ProductionOrderConfirmationAdd (3) | ||||
Production Order | Abnormality Category | Abnormality Quantity (M2) | Machine | Total GR |
100001709052 | C1_Scratch | 58.50 | 640 CH Machine | 10,368.00 |
100001709052 | C7.Moist.W | 87.00 | 640 CH Machine | 10,368.00 |
100001709052 | C7.Moist.W | 28.50 | 640 CH Machine | 10,368.00 |
100001709052 | C7.Moist.W | 18.00 | 640 CH Machine | 10,368.00 |
100001709052 | A5.Adh Line | 87.00 | 640 CH Machine | 10,368.00 |
100001709052 | O.Fluct.Mch | - | 640 CH Machine | 10,368.00 |
100001709052 | Depr.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | O.fix.Mch.C | - | 640 CH Machine | 10,368.00 |
100001709052 | Ind.Mch.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | Preparation | - | 640 CH Machine | 10,368.00 |
100001709052 | Handling | - | 640 CH Machine | 10,368.00 |
100001709052 | Others | - | 640 CH Machine | 10,368.00 |
100001709052 | Pwr.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | MP.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | Depr.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | Depr.Cst | - | 640 CH Machine | 10,368.00 |
100001709052 | Depr.Cst | - | 640 CH Machine | 10,368.00 |
what is your expected outcome?
Hi @lbendlin ,
My expected outcome as below
Production Order | Abnormality Category | Abnormality Quantity (M2) | Machine | Total GR |
100001709052 | C1_Scratch | 58.50 | 640 CH Machine | 10,368.00 |
100001709052 | C7.Moist.W | 87.00 | 640 CH Machine | 0 |
100001709052 | C7.Moist.W | 28.50 | 640 CH Machine | 0 |
100001709052 | C7.Moist.W | 18.00 | 640 CH Machine | 0 |
100001709052 | A5.Adh Line | 87.00 | 640 CH Machine | 0 |
Regards,
Nuha
Would you always assign the "Total GR" value to the C1_Scratch abnormality?
It may be easier to create a proper data model. That way you don't need to do the merges, and the data model can do all the work for you.
User | Count |
---|---|
9 | |
7 | |
5 | |
5 | |
4 |
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |