Forum Discussion

Justas4478's avatar
Justas4478
Post Prodigy
3 years ago
Solved

Folder files with date as column names

Hi, I am trying to set up folder as data set that has reports from agencies. The problem is that provided reports have working hours column names in days Monday - Sunday. I can change those days to date what allows me to see hours by day if I unpivot those columns. Problem appears when there is more than one report in the folder. Everything breaks because every new report is for different week so day date would be different. And power query combines them in to one table, what is what I want but it does not separate different date columns and appends them. All the new report data gets append to the bottom of the first file. 

I know if I change the name of the columns back to Mondat - Sunday it will work, but then I wont be able to tell which hours are for which days. Anyone know any working solution. I can provide sample data if needed. I attach screenshot of one of the report files.

Thanks.

 

3 Replies