Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello Expert,
I have a use case where I need to run a notebook within my pipeline every day and pass the running day and time parameters to notebook.
What is the best way to achieve this?
Solved! Go to Solution.
Hi, you can create a parameter cell in the Notebook Spark compute for Data Engineering and Data Science - Microsoft Fabric | Microsoft Learn and then in the Notebook activity, add a parameter to the "Base Parameters" section. You can then use the pipeline expression language to create a current datetime (or pass in any other value you need).
Thanks AndyDDC
Hi @NEK
Thanks for using Microsoft Fabric Community and posting your ask here.
Just wanted to check whether your issue got resolved. Continue using Fabric Community for help regarding your queries.
Thanks
Hi, you can create a parameter cell in the Notebook Spark compute for Data Engineering and Data Science - Microsoft Fabric | Microsoft Learn and then in the Notebook activity, add a parameter to the "Base Parameters" section. You can then use the pipeline expression language to create a current datetime (or pass in any other value you need).
Thank you AndyDDC. What is the way automatically run the notebook every day or some days of the week. Do we need to use something like schedule trigger?
You can either schedule the data pipeline that runs the notebook activity https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-runs#scheduled-data-pipeline-runs
or schedule the notebook itself by clicking Run then Schedule in the notebook editor.
Hi @NEK if this has been of help would you please mark my reply as the solution to close this off. Thank you
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 12 | |
| 6 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 12 | |
| 12 | |
| 10 |