Forum Discussion
Anonymous
7 years agoNot applicable
Efficency calculation
Hello, I have data, "total time it took to create the part"(time) and "working mins" (Whole Number). Is here a way to divide one into the other. This data would then be used to provide a percentag...
- 7 years ago
Hi Anonymous
Create a measure like below.Then drag the date column and the measure to a table visual.
Measure = DIVIDE ( CALCULATE ( SUM ( Table1[Time_Second] ) ), CALCULATE ( MAX ( Table1[Working-Second] ) ) )Regards,
v-cherch-msft
7 years agoMicrosoft Employee
Hi Anonymous
Please check below measure:
Measure =
DIVIDE (
CALCULATE (
SUM ( Table1[Time_Second] ),
FILTER ( Table1, Table1[Date] = DATE ( 2019, 4, 16 ) )
),
CALCULATE (
MAX ( Table1[Working-Second] ),
FILTER ( Table1, Table1[Date] = DATE ( 2019, 4, 16 ) )
)
)
Regards,
Anonymous
7 years agoNot applicable
Yes that looks to be exactly what i am am looking for.
Is there a way i can do the measure for all the days?
Apologies if this is simple, would be a novice to Dax
- v-cherch-msft7 years agoMicrosoft Employee
Hi Anonymous
Create a measure like below.Then drag the date column and the measure to a table visual.
Measure = DIVIDE ( CALCULATE ( SUM ( Table1[Time_Second] ) ), CALCULATE ( MAX ( Table1[Working-Second] ) ) )Regards,