cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sonisick
Resolver I
Resolver I

Is there a way to use the Folder Option under GetData to get files that all require a processing?

For example, if you have Text files that all require deleting columns 1 and 4, and require naming the headings and including the source name in a column. Can you handle this with the folder option and some M Scripting?

1 ACCEPTED SOLUTION
negi007
Super User
Super User

@sonisick Yes you can use folder option to combine files from it and then do some processing to have one table. i have personally used in many cases where i have many csv files.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

2 REPLIES 2
negi007
Super User
Super User

@sonisick Yes you can use folder option to combine files from it and then do some processing to have one table. i have personally used in many cases where i have many csv files.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

That makes sense. Read them in, and then process them all.

Do you have any M Script files where you process all the files you just read in?

 

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors