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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Manasa55
Frequent Visitor

Loading Data in Direct Query Mode

I Loaded data from the Fabric Lakehouse to the Power Bi through python script. But data is loading in the Import Mode I want to load the tables data using Direct Query Mode using python script can we able to achieve this in power BI? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Manasa55 
Thank you for reaching out microsoft fabric community forum.
DirectQuery mode is not supported for Python scripts in Power BI.Use Fabric Lakehouse SQL Endpoint for DirectQuery mode.You can load data into an SQL database via Python and then connect Power BI to it using DirectQuery.

If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.

Thank you.

 

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Manasa55 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Anonymous
Not applicable

Hi @Manasa55 
Thank you for reaching out microsoft fabric community forum.
DirectQuery mode is not supported for Python scripts in Power BI.Use Fabric Lakehouse SQL Endpoint for DirectQuery mode.You can load data into an SQL database via Python and then connect Power BI to it using DirectQuery.

If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.

Thank you.

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors