The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team,
We have a requirement to use pipeline parameters into notebook at the end of the pipelien execution.
I tried passing parameters using below approaches, it is not passing the values and resulting to pipeline failure. kindly suggest any working solution to pass pipeline parameters into Notebook (pyspark (python))
#1
file_category = mssparkutils.env.get_parameter("file_category")
Solved! Go to Solution.
hi @Sureshmannem ,
Can you not set the base parameters of the notebooks with the pipeline variables something like below
and then in the notebook you can directly use those variables
hi @Sureshmannem ,
Can you not set the base parameters of the notebooks with the pipeline variables something like below
and then in the notebook you can directly use those variables
Hi @Gpop13
Thanks for your prompt support!
I realized I was overengineering the solution. I’ve now used the parameters directly in the notebook, and it works as expected.
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
18 | |
17 | |
6 | |
5 | |
5 |