Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JiHin
Frequent Visitor

Pass parameters to notebook and running it within a notebook?

Hi all,

 

Is there a way to pass paramters to a separate fabrics notebook within the same workspace, similar to the function in Azure Databricks?

 

Equivalent code in Azure Databricks:
dbutils.notebook.run('notebook_path',
3600,
{'parameter_name': parameter_data})

 

I am trying to avoid using Pipelines in Fabrics. 

 

Thanks!

 

 

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

Hi @JiHin 

 

Equivalent to Databricks, Microsoft has the same with bit of change. Yers you can run notebooks using below code.

BhaveshPatel_0-1752995908354.png

Alternatively, You can run Dataflow Gen 2 ( Power Query ). It is much simpler and easy than Pipelines in Fabric Data Factory.. Also run single table in Dataflow Gen 2.

BhaveshPatel_1-1752996052582.png

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

1 REPLY 1
BhaveshPatel
Community Champion
Community Champion

Hi @JiHin 

 

Equivalent to Databricks, Microsoft has the same with bit of change. Yers you can run notebooks using below code.

BhaveshPatel_0-1752995908354.png

Alternatively, You can run Dataflow Gen 2 ( Power Query ). It is much simpler and easy than Pipelines in Fabric Data Factory.. Also run single table in Dataflow Gen 2.

BhaveshPatel_1-1752996052582.png

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.