Forum Discussion
sharpedogs
6 years agoAdvocate II
Hourly Updates multiple files from a folder -
I'm not sure what to do here? 1) I'm reporting against Server Utilization 2) Each Hour there are 7 CSV files dropped into a folder 3) I pull all files from the folder and merge them together ...
- 6 years ago
Hi sharpedogs
You could add a step "filtered rows",
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each DateTime.Date([datetime])=DateTime.Date(DateTime.LocalNow()) and Time.Hour([datetime])<= Time.Hour(DateTime.LocalNow()) and Time.Hour([datetime])>= Time.Hour(DateTime.LocalNow())-1)Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
edhans
6 years agoCommunity Champion
Just grab the latest file with each refresh. Make sure you use the Folder import option, then the Combine opreation, which it sounds like you are doing. That will prevent the import from looking at a specific file name.
Set this filter though right before the combine operation starts: