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.
Hi,
Is it possible to reference one notebook from another?
If I have some generic code used in multiple notebooks, is it possible to make an import?
Kind Regards,
Dennes
Solved! Go to Solution.
Yes you can with 2 different methods. The first method below %run with no parameters allows you to reference any child variables in the parent notebook. The second method (mssparkutils) runs in another session so you are not allowed to see the variables in the parent notebook.
2 methods:
Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn
Yes you can with 2 different methods. The first method below %run with no parameters allows you to reference any child variables in the parent notebook. The second method (mssparkutils) runs in another session so you are not allowed to see the variables in the parent notebook.
2 methods:
Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn
Hi @DennesTorres
Please refer to this link: https://learn.microsoft.com/en-us/azure/databricks/notebooks/notebook-workflows
Hope this helps.
Hi @DennesTorres
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Otherwise, will respond back with the more details and we will try to help.
Thanks
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
16 | |
15 | |
4 | |
4 | |
3 |