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
Netrelemo
Helper IV
Helper IV

Cannot query a SQL database - must import it first

This step results in a query taht is not supported in DirectQuery mode. Switch al ltables to direct import mode? 

 

The offending step? Line 1 of the query

Source = Sql.Database("<sqlServer>", "<database>")

 

What am I doing wrong? 

2 REPLIES 2
Anonymous
Not applicable

You're not doing it wrong. Just select your table, and once you open it, the error will go away.

 

--Nate

 

 

Could you explain to me what "Import" then means in this surreal PowerBI world? It sounds like I'm repliatinng a database so that I can interrogate it. Isn;t the whole point of a database to interrogate it directly? 

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.