I have a folder containing CSV files and I want to write some M Code to merge some files together but I can’t get it.
Here is a sample of what I want to achieve
Could you please provide more details about your question? It would be helpful if you could provide a sample file or describe the specific problem you are facing. Additionally, if you can provide an example of the expected result, it would assist me in understanding your requirements better.
I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.
A perfect initial question includes all of the following:
A clear explanation of the problem you are experiencing
A mockup of the results you want to achieve
Your current work-in-progress PBIX file
Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)
Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file. Not completing your data may sometimes cause delay in getting an answer.