Forum Discussion
GothicBelle
2 years agoRegular Visitor
Needing error handling for empty folder source
I have a queue folder with many subfolders for different queue data that I download Excel files every day. Each subfolder has a query made for it, and my end result is an append of all the final tabl...
lbendlin
Super User
2 years agolet
Source= Folder.Files ("S:\My Folder\Queue\Subfolders"),
Navigation1 = if Table.CountRows(Source)>0 then Source{0}[Content] else <fake empty table with a [Content] column that you prepared before>
in
Navigation1
- GothicBelle2 years agoRegular Visitor
This sort of worked but now my Transform Parameter is bugging out because dummies me said they were Excel files and they are CSV files.
- lbendlin2 years ago
Super User
Please provide sample data that fully covers your issue.