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
JaroslavJancik
Frequent Visitor

Averaging every 4 rows

Hello,
I have values for 15 min for 3 years. I need to make an hour average of 4 15 min rows.
I couldn't find topic related to this so I'm asking for help.

Thank you in advance

1 ACCEPTED SOLUTION

need to create two helper columns in power query
and then calculate the average
see attached
https://dropmefiles.com/Wa1oj

Screen Capture #359.png

 

 

View solution in original post

4 REPLIES 4
Arul
Super User
Super User

@JaroslavJancik ,

Did not got your problem, Could you explain it more in detail with some sample data?

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Sure!
I need to get average number of every 4 rows and create another column with those average numbers.

  A         B

1.121.205
1.111.795
1.09 
1.5 
1.78 
2 
2.1 
1.3 

 

B1 = AVERAGE(A1:A4)
B2 = AVERAGE(A5:A8) and so on...
Thank you so much for replying. 🙂

need to create two helper columns in power query
and then calculate the average
see attached
https://dropmefiles.com/Wa1oj

Screen Capture #359.png

 

 

Thank you very much!
But what if I have 30 columns each containing 35138 rows? 

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.