I want to create a date spread from 01-01-2005 till 23-01-2015, is it possible to populate such a dates range in the Azure data factory (specifically in mapping data flows). If yes then which function should one use to apply the same.
Thank you!
I want to create a date spread from 01-01-2005 till 23-01-2015, is it possible to populate such a dates range in the Azure data factory (specifically in mapping data flows). If yes then which function should one use to apply the same.
Thank you!
You can use Until activity to loop through start and end dates and add append variable activity to append the dates to get the range of dates.
increment day by 1 : @string(add(int(variables('add_count')),1))
days to add : @variables('count')
Append date to list : @formatdatetime(adddays(formatdatetime(variables('start'),'MM-dd-yyyy'),int(variables('count'))),'MM-dd-yyyy')
max date from list : @adddays(formatdatetime(variables('start')),int(variables('count')))
output list of dates: