Auto Summary in Excel Power Query..

sanket_sk

Board Regular
Joined
Dec 27, 2016
Messages
140
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Every day, we work with 1000+ orders, we review our performance at the end of the day.

Sharing sample base data, based on this data I prepare a summary.
Daily input.xlsx
ABCDE
1DateAccount NumberOrder NumberAWB NoStatus Desc
216-07-21124457191NRO2082409526316950Delivered
316-07-21124457191ANX0133253528356358Delivered
416-07-21124457191ANX0135355526524738Delayed
516-07-21124457191CBU1170817525929527House Locked
616-07-21124457191CBU1170794528556375Delivered
716-07-21124457191CBU1170794528556376House Locked
816-07-21124457191CBU1170785527482099No Time
916-07-21124457191CBU1170784526969816Delayed
1016-07-21124457191CBU1170822529332697Appointment Recheduled
1116-07-21124457191CBU1170789527651114No Time
1216-07-21124457191CBU1170813519085887Delivered
PHILIPS_INDIA_LTD_REVERSE_MTDCo


Since the base data size is more, every day I remove previous day data and upload new (Todays) data and hence the summary which I get (shared below) is always for the day.

Book1
ABCDEFGH
11DateHouse LockedNo Responsible personAppointment RecheduledNo TimeDelayedStock OverTotal Pending
1216-07-21 0:00108131123117132186797
Sheet2


I am looking for the solution where once I upload the data power query stores summary in separate query and append the same on daily basis, so that we can be able to see daily summary data in one shot even base data does not have previous days information

Please below table for the desired result of summary

Book1
ABCDEFGH
1DateHouse LockedNo Responsible personAppointment RecheduledNo TimeDelayedStock OverTotal Pending
210-07-21 0:001341759191142167800
311-07-21 0:009489188111130156768
412-07-21 0:00172110160175146158921
513-07-21 0:00140166102141120139808
614-07-21 0:00186124110119112180831
715-07-21 0:0016116311911492140789
816-07-21 0:00108131123117132186797
Sheet2


Thanks & Regards,
Sanket
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi,
I think you want something like incremental type of summary? Means you export data daily basis only but the summary will show all?? Why dont you export the data to a separate dated file (0101.xlsx, 0102.xlsx, 0103.xlsx......) and let power query import data & reflect filename as additional colum?
 
Upvote 0
Hi,
I think you want something like incremental type of summary? Means you export data daily basis only but the summary will show all?? Why dont you export the data to a separate dated file (0101.xlsx, 0102.xlsx, 0103.xlsx......) and let power query import data & reflect filename as additional colum?
Hi,

It's because the number of line items are huge, managing / maintaining such huge data will be difficult hence trying this way.

Sanket
 
Upvote 0
Owh.. ok understtod... perhaps you can change the way workbooks works? perhaps you could save as different workbook daily...rather than single workbook..

but another way is to use Power BI (my boss once told me it handles bigger data than power query) but i never used it
 
Upvote 0
It sounds like you want to save your daily data into a separate file each day as suggested above. Let PQ (or PBI) look at the folder in which you're saving these files rather than a specific file. There'll be a button at the top of the column that contains the word "binary" in all rows that will combine the data. Once PQ combines it, go into the Transform Sample File query and do your summarization there for the first file. When you view the parent query, you'll have to clean up a few errors now that the sample file is in a different state, but it should give you what you're looking for.
 
Upvote 0

Forum statistics

Threads
1,215,370
Messages
6,124,526
Members
449,169
Latest member
mm424

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