Forum Discussion
tyjames05
2 years agoHelper I
Power Bi Pro Desktop Trouble with average in Matrix table
Hello all, I'm having trouble with the average in my matrix table. I've looked at other threads with similiar problems and I don't seem to figure it out. I have a column in my table call "PPH". I...
- 2 years ago
Hi, tyjames05
You can try the following methods.
Measure:
PPH = AVERAGEX(ALL('Table'),DIVIDE(SUM('Table'[Finished Product]),SUM('Table'[Hours Worked])))Is this the result you expect? Please see the attached document.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-zhangti
2 years agoCommunity Support
Hi, tyjames05
You can try the following methods.
Measure:
PPH = AVERAGEX(ALL('Table'),DIVIDE(SUM('Table'[Finished Product]),SUM('Table'[Hours Worked])))
Is this the result you expect? Please see the attached document.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tyjames05
2 years agoHelper I
Hey I have another question for you. It's in the same report. I'm trying to add these 3 columns to get a total.. and the DAX formula that I'm using is coming out all messed up.
TA = SUMX('RawData', RawDATA[Total Assemblies for Above Cell During Selected Shift]+RawDATA[Total CUT TO LENGTH pieces for Above Cell During Selected Shift]+RawDATA[Total PARFLEX pieces for Above Cell During Selected Shift])
Thats what I'm using. But if you look at the second picture once I select the measure to add to the table it doesn't compute correctly. I think the reason might have to do with somedays there are multiple entries for the same cell. Cell 2 might have multiple entries because part of the day they worked on assemblies and another part of the day they worked on CTLs.