March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello all,
I have data from sensor that record data every 5 minute, example as below.
then the question is, how to average column level to hours. Below the example output I want.
Time | Average of Level |
12:00:00 AM | 1.47 |
01:00:00 AM | 1.46 |
02:00:00 AM | 0.99 |
03:00:00 AM | 0.45 |
04:00:00 AM | 1.30 |
Thanks.
Solved! Go to Solution.
Use Power Query to do this. It's easy. Group the data by (date and) hour (the hour can be extracted from time easily - there's a button that does it for you), and apply the average function over the column(s) of your choosing.
Use Power Query to do this. It's easy. Group the data by (date and) hour (the hour can be extracted from time easily - there's a button that does it for you), and apply the average function over the column(s) of your choosing.
Hi daXtreme,
Thank's for the answer, this can be solution too, but how if I want the output in the Measure or another table.
If you create the table I'm talking about, you'll also be able to create a measure based on this.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |