Forum Discussion
Anonymous
6 years agoNot applicable
Get Data from Folder with Today's Date
Hi all, I need PowerQuery to go every time and search for a file that is stored in a folder with today's date. Explanation: Our raw data (the one we feed to PowerQuery) are stored to our...
- 6 years ago
Hi luke_avalle,
You could try below M code to see whether it work or not
let Source = Folder.Files("C:\Users\(username)\Documents\New folder"), #"Filtered Rows" = Table.SelectRows(Source, each ([Folder Path] = "C:\Users\zoezhi\Documents\New folder\"&Date.ToText(DateTime.Date(DateTime.LocalNow()),"yyyyMMdd")&"\")) in #"Filtered Rows"Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Nathaniel_C
Community Champion
6 years agoHi Anonymous ,
We need to get KenPuls who wrote an incredible book, M is for (DATA) MONKEY if he is available to comment.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel