Hi ,
Is there a way to import .csv files from a folder? I do know that we can import all the .csv files in one go with similar data structure but what about .csv files which have different data Eg: Studen_Marks, HR_Details??
Solved! Go to Solution.
Hi @husnabanu,
You can use the folder connector to access the folder and list its files on the power query side without any combine or merge-operations.
Then you can add filters on this list to filter records based on their filename, Extension, modify dates, or other conditions to keep the files you wanted and do merge operation on remained files. (for your scenario, it should keep the files with 'CSV' Extensions and filename equal to 'Studen_Marks', 'HR Details')
Regards,
Xiaoxin Sheng
Hi @husnabanu,
You can use the folder connector to access the folder and list its files on the power query side without any combine or merge-operations.
Then you can add filters on this list to filter records based on their filename, Extension, modify dates, or other conditions to keep the files you wanted and do merge operation on remained files. (for your scenario, it should keep the files with 'CSV' Extensions and filename equal to 'Studen_Marks', 'HR Details')
Regards,
Xiaoxin Sheng
You can reference to the folder and see the first step where you can filter the metadata, there you can reference the query many times you want, filter the same structure (if any) and combine them, if possible.
@husnabanu , I doubt it can work as a folder import. You need to import as individual files.
Proud to be a Super User!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
441 | |
194 | |
109 | |
56 | |
49 |
User | Count |
---|---|
477 | |
238 | |
134 | |
75 | |
74 |