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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cwoldorff
Regular Visitor

Power Query Python Script vs. Fabric Notebook?

I need to use a Python script for additional processing of my data before loading it into my PBI report. The two ways I am looking at doing this are: 

1) Run a Python script in Power Query or

2) Create a Fabric Notebook that loads the processed data it into a Lakehouse and connect my report there.

 

I know that the first option will require a gateway in order to refresh the report online. But could someone please tell me any other pros/cons of each approach?

 

Thank you in advance.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @cwoldorff 

 

I would highly recommend using a fabric notebook. The reason for this is that there are limitations with regards to the libriaries that you can use within Power BI desktop, you'll see it a much better editing and viewing experience when using the fabric notebook.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi @cwoldorff 

 

I would highly recommend using a fabric notebook. The reason for this is that there are limitations with regards to the libriaries that you can use within Power BI desktop, you'll see it a much better editing and viewing experience when using the fabric notebook.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.