Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mulwanto
New Member

Average Per 5 minutes data

Hello all,

 

I have data from sensor that record data every 5 minute, example as below.

 

Mulwanto_0-1669016056785.png

then the question is, how to average column level to hours. Below the example output I want.

 

TimeAverage of Level
12:00:00 AM1.47
01:00:00 AM1.46
02:00:00 AM0.99
03:00:00 AM0.45
04:00:00 AM1.30

 

 Thanks.

1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage

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.

View solution in original post

3 REPLIES 3
daXtreme
Solution Sage
Solution Sage

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.