Forum Discussion
jorgeaguirre
9 years agoFrequent Visitor
Average hours
Hi, I'm new to "power bi" I'm working on a project with direct query I need to get the AVERAGE, grouped by hours.
- 9 years ago
Do you have a Arrival Time column in your table? If yes, please try with following measure.
AVERAGE = FORMAT ( CALCULATE ( AVERAGE ( Table1[Arrival Time] ), ALLEXCEPT ( Table1, Table1[TimeHour] ) ), "HH:MM: SS" )Best Regards,
Herbert
v-haibl-msft
9 years agoMicrosoft Employee
Do you have a Arrival Time column in your table? If yes, please try with following measure.
AVERAGE =
FORMAT (
CALCULATE (
AVERAGE ( Table1[Arrival Time] ),
ALLEXCEPT ( Table1, Table1[TimeHour] )
),
"HH:MM: SS"
)
Best Regards,
Herbert