Hi @Ram ,
As I understand your query , you want to fetch data from file which is loaded twice in a month in the blob storage, every month the file name changes so you are unsure how to pass the filename in the dataset dynamically. Please let me know if my understanding is incorrect.
- You can make use of 'Get Metadata' activity and point the dataset within it to the folder containing the file. In the Field list , use ChildItems which will retrieve all the fileNames present within the folder.
- Then , use filter activity with the expression
@contains(substring(item().name,2,2),substring(startOfMonth(utcNow()),5,2))
, kindly modify the index position according to our fileName.
After filtering the fileNames , you can pass these filenames into dataflow to perform transformation.
Here is a short video for your reference:
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators