Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

How to get data that not sum & not count

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 OrderAbnormality Category Abnormality Quantity (M2) Machine Total GR 
100001709052C1_Scratch                                         58.50640 CH Machine  10,368.00
100001709052C7.Moist.W                                         87.00640 CH Machine  10,368.00
100001709052C7.Moist.W                                         28.50640 CH Machine  10,368.00
100001709052C7.Moist.W                                         18.00640 CH Machine  10,368.00
100001709052A5.Adh Line                                         87.00640 CH Machine  10,368.00
100001709052O.Fluct.Mch                                                -  640 CH Machine  10,368.00
100001709052Depr.Cst                                                -  640 CH Machine  10,368.00
100001709052O.fix.Mch.C                                                -  640 CH Machine  10,368.00
100001709052Ind.Mch.Cst                                                -  640 CH Machine  10,368.00
100001709052Preparation                                                -  640 CH Machine  10,368.00
100001709052Handling                                                -  640 CH Machine  10,368.00
100001709052Others                                                -  640 CH Machine  10,368.00
100001709052Pwr.Cst                                                -  640 CH Machine  10,368.00
100001709052MP.Cst                                                -  640 CH Machine  10,368.00
100001709052Depr.Cst                                                -  640 CH Machine  10,368.00
100001709052Depr.Cst                                                -  640 CH Machine  10,368.00
100001709052Depr.Cst                                                -  640 CH Machine  10,368.00
4 REPLIES 4
lbendlin
Super User
Super User

what is your expected outcome?

Anonymous
Not applicable

Hi @lbendlin ,

 

My expected outcome as below

 

Production OrderAbnormality Category Abnormality Quantity (M2) Machine Total GR 
100001709052C1_Scratch                                         58.50640 CH Machine  10,368.00
100001709052C7.Moist.W                                         87.00640 CH Machine0
100001709052C7.Moist.W                                         28.50640 CH Machine0
100001709052C7.Moist.W                                         18.00640 CH Machine0
100001709052A5.Adh Line                                         87.00640 CH Machine0

 

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.

Anonymous
Not applicable

Hi @lbendlin ,

 

No. The "Total GR" coming from another data model. I merge it with the current model

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors