Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
Solved! Go to Solution.
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
Has your problem got resolved? If yes, you can mark the right answer as solution so that other people who have the same problem can find the right answer quickly.
Best Regards,
Herbert
Hi, if your answer helped me with the above problem.
But I have another very similar problem in that I try to use the same formula but I can not make it work.
I'm working with "direct query" and I need to get the average "work time"
Something very similar to this. AVERAGE_WT = FORMAT (AVERAGE (View_AllRequests [Average Work Time]), "HH: MM: SS")
But I always get error.
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 45 | |
| 44 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 73 | |
| 71 | |
| 34 | |
| 33 | |
| 31 |