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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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