From the course: Implementing Data Engineering Solutions Using Microsoft Fabric (DP-700) Cert Prep by Microsoft Press
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Using parameters in notebooks - Microsoft Fabric Tutorial
From the course: Implementing Data Engineering Solutions Using Microsoft Fabric (DP-700) Cert Prep by Microsoft Press
Using parameters in notebooks
Using Parameters in Notebooks Now when we're looking to use parameters in notebooks, we're looking to pass the values into a notebook when that notebook is being run to change the values within the notebook, just like we do with our pipelines. Now we don't start out with a parameter cell, we have to define one within our notebook. So for example, if I have a cell that is defining a variable such as a data source or a lake house ID to be used further down in my notebook, I can actually use the settings of that cell to toggle it into a parameter cell. Now it's going to show as a parameter cell, so I can toggle that parameter cell on or off. That enables me to pass the values in and it will override the values inside that notebook. Now when we're looking to pass values into parameters inside notebooks at runtime, we've got multiple methods. We can do that via code. Now using that magic command %run, we can specify a notebook that we wish to run with one or more parameters where we're…
Contents
-
-
-
-
-
-
-
(Locked)
Learning objectives20s
-
(Locked)
Configuring pipeline schedules3m 23s
-
(Locked)
Configuring notebook schedules2m 19s
-
(Locked)
Configuring Dataflow Gen2 schedules2m 42s
-
(Locked)
Using parameters and dynamic expressions in pipelines4m 25s
-
(Locked)
Using parameters in notebooks3m 27s
-
(Locked)
Quiz3m 3s
-
(Locked)
-
-
-
-
-
-
-
-