Costa Rica
Last updated: 2025-03-05
List of References (Click to expand)
- Create a Microsoft Fabric Workspace
- Create a Notebook with Parameters
- Using the Notebook in a Pipeline
- Sign in to Power BI: Go to the Power BI Service and log in.
- Create a New Workspace:
-
Go to Your Workspace:
- Sign in to Power BI: Go to the Power BI Service and log in.
- Navigate to Workspaces: From the navigation pane, select
Workspaces. - Select Your Workspace: Choose the workspace where you want to create the new item.
-
Create a New Item
-
Create and Configure the Notebook
-
Define Parameters in the Notebook
-
Open the Notebook: Once the notebook is created, open it.
-
Define Parameters: Add a cell to define the parameters you want to pass. For example:
# Parameters file_path = "" # expected value format: abfss://<your-container-name>@<your-storage-account-name>.dfs.core.windows.net/<your-bronze-lakehousename>.Lakehouse/Tables/<table name> token = ""
-
-
Mark as Parameter Cell: Select the
Toggle Parameter Celloption to mark the cell as a parameter cell
-
Save and Use the Notebook
-
Open the Notebook: Navigate to the notebook you created in your Microsoft Fabric workspace.
-
Go to the Run Tab: In the notebook view, click on the
Runtab at the top of the page. -
Add to Pipeline: Under the
Run*tab, select theAdd to pipelineoption. This will allow you to add the notebook to a new or existing pipeline. -
Configure the Notebook Activity
-
Open Pipeline Editor: Once the notebook is added to the pipeline, the pipeline editor will open.
-
Select the Notebook Activity: Click on the
Notebook activitythat was added to the pipeline. -
Configure Parameters: In the
Settingstab of theNotebook activity, find theParameterssection. Add the parameters you want to pass to the notebook. Ensure the parameter names match the names defined in the notebook. For example:{ "file_path": "/path/to/your/file", "token": "your_token_here" }
-







