Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Odd table totaling behavior

I would like for the table totals to be averages of the values in their respective columns, but I can't find any place to adjust that setting. Currently, I have a table that is returning a total that is lower than any of the values in the column.

Is this determined by the measures fed into the tables?

 

The DAX behind the OEE column is:

 

m.OEE = [m.OEEAvailability] * [m.Performance] * [m.Quality]
 
m.OEEAvailability = CALCULATE(AVERAGEA(CO_PROD_SHIFTS[c.OEE_AVAILABILITY]))
 
m.Performance = CALCULATE(AVERAGEA(CO_PROD_INFO[c.PERFORMANCE_MAX100]),CO_PROD_INFO[MFG_TYPE]="INJECTION",CO_PROD_INFO[MFGNO]<>"DOWN-TIME",CO_PROD_INFO[SAMPLE]<>"TRUE")
 
m.Quality = CALCULATE(DIVIDE(SUM(CO_PROD_INFO[GOOD_PTS]),SUM(CO_PROD_INFO[TOTAL_PTS])),CO_PROD_INFO[MFG_TYPE]="INJECTION",CO_PROD_INFO[MFGNO]<>"DOWN-TIME",CO_PROD_INFO[SAMPLE]<>"TRUE")

 

3 Replies