Hello @Tinashe Chinyati ,
Thanks for the ask and using the forum . The below expression will work
@concat(substring(split(variables('Filename'),'_')[2],0,4),'/',substring(split(variables('Filename'),'_')[2],4,2),'/',substring(split(variables('Filename'),'_')[2],6,2))
Just a quick inside as to what i am doing here .
- The date is assigned to the variable Filename , i did used A_ODP_20200914_094647_00.CSV to test .
- Split the name with "_" , and since it return an array , i have the data at index 2 .
- Use substring to get the year , month and day .
- I thought you may be need "\" as you talked about partitioning so used concat function .
The below animation should help .
Thanks
Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members