Averaging Every Column

Craigc3814

Board Regular
Joined
Mar 7, 2016
Messages
217
I am using Powerquery in Excel 2016 (Office 365)

I have a bunch of Excel Spreadsheets (daily spreadsheets of run time) saved in a network folder and I have PQ connected to that folder and combining all the spreadsheets into one large table.

The columns of data are the run date, item name, sub item 1 start, sub item 1 run time, sub item 2 start, sub item 2 run time........ all the way out to sub item 6.

I know I can group by item name, then add an aggregation for each column for average.

My question is, is this the most efficient way? I am about 2 years in on PQ and it is time for me to start learning to actually code in it. The UI is so easy to understand that I think I lean on it a bit too much.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hello Craig, the best way to do this aggregation is within DAX and not Power Query, unless the aggregation needs to be used by another Query
 
Upvote 0
Unfortunately the Company I am doing this for does not have Power BI, it would make life a lot more simple if they did.
 
Upvote 0
I did not realize Power Pivot was available for Excel now. I had it in an old version then lost it when I first got office 365. Looks like Microsoft added it back?
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top