Hi Power BI Community,
I'm struggling in calculating/displaying the Total Sum at the bottom of a matrix for my Hourly Effective Production measure.
Yet you can see that the total for Number of operators is quite good calculated.
Here is a screenshot of the matrix :
Here is the DAX formula for Hourly Effective Production measure :
The expected total for Hourly Effective Production would be 1136 (329 + 405 + 401 + 1)
About the Hourly Objective Production Total, I would need to calculate an average of this.
Do you know how I could handle these cases, please?
Thank you for your help.
Solved! Go to Solution.
@Anonymous , Try a new measure like
Hourly Effective Production = sumx(values(Table[Hour]), CALCULATE(COUNT(ZOT[OT Number]),FILTER(ZOT,ZOT[Confirmation Date] = TODAY() && NOT(ISBLANK(ZOT[Confirmation Date])) && ZOT[Confirmation HH:00] = MAX('Capacity'[Hour]))))
Thank you for your suggestion, unfortunately, I still don't have a value in the total bottom line.
Is it related to the fact that there are empty values from 16:00 to 21:00 ?
Can you provide some sample data for testing?
Maybe you can try formulas as below:
New Hourly Effective Production1 = SUMX ( VALUES ( Table[Hour] ), [Hourly Effective Production] )
New Hpourly Effective Production2 = SUMX ( SUMMARIZE ( Table1, Table1[Hour], Table1[Bumber of operators], "Hourly Effective Production", CALCULATE ( COUNT ( ZOT[OT Number] ), FILTER ( ZOT, ZOT[Confirmation Date] = TODAY () && NOT ( ISBLANK ( ZOT[Confirmation Date] ) ) && ZOT[Confirmation HH:00] = MAX ( 'Capacity'[Hour] ) ) ) + 0 ), [Hourly Effective Production] )
BTY,Why the Hourly Objective Production would be 684,can you explain it in more detail?
Community Support Team _ Eason
@v-easonf-msft : I haven't tested yet your suggestions, but please find the URL for downloading the pbix file as a sample.
About the 684, figures have changed since last post.
Taking in account the sample.pbix, please now consider the following table with the expected results in the Total line in the bottom :
Thank you for your support.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.