Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hello all, i made the datapipeline while passing the source from http and used @concat('user_1',utcNow(),'.txt') expression
Solved! Go to Solution.
Firstly, in order to avoid race conditions on using utcNow in multiple places and getting different answers, I'd probably create a pipeline variable for the filename and 'Set Variable activity' it to be @concat('user_1', utcNow(), '.txt')
Then I'd use that variable as both the destination filename *and* a parameter in the Notebook activity. And then in the Notebook I'd have a parameter cell that uses the filename parameter.
So:
Pipeline
Variable setup
Set Variable activity
Copy Data Activity destination
Notebook activity
And the notebook itself
If this helps, please consider Accepting as a Solution so others can find it more easily.
Firstly, in order to avoid race conditions on using utcNow in multiple places and getting different answers, I'd probably create a pipeline variable for the filename and 'Set Variable activity' it to be @concat('user_1', utcNow(), '.txt')
Then I'd use that variable as both the destination filename *and* a parameter in the Notebook activity. And then in the Notebook I'd have a parameter cell that uses the filename parameter.
So:
Pipeline
Variable setup
Set Variable activity
Copy Data Activity destination
Notebook activity
And the notebook itself
If this helps, please consider Accepting as a Solution so others can find it more easily.