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
Rob-Sims-99
Frequent Visitor

Datamart SQL Queries

Hi there,

 

Ok, so I may be missing a fundamental here, but here goes...

 

Where I work it's policy not to allow SSMS outside of the IT Department, so imagine my unbridled joy when I found datamarts supported an online SQL editor, however, all I can see what you can do with these is export the results of your query into Excel... Does anyone know whether you're able to ingest the sql queries using Power BI Desktop?

 

Thanks,

 

Rob.

1 ACCEPTED SOLUTION
rdnguyen
Helper V
Helper V

@Rob-Sims-99 

If you utilize Datamart, data is no longer fresh, but be imported from original datasource to sit inside Datamart waiting. Why would you try to use Direct Query in this scenario, but not import from a prepared table transform inside Datamart or within Power BI Desktop?

 

Regarding your question, you can only find the option for Direct Query but no option for the advanced options to ingest SQL query from the very begining, but a walk a bit further (I believe Datamart will have it eventually)

from Power BI Desktop > Datahub > Datamart > Connect to SQL Endpoint > Navigator > 

rdnguyen_1-1662119200565.png

 

rdnguyen_0-1662119166846.png

Then go to Power Query Editor, edit the Source where you should see this button next to

rdnguyen_2-1662119767737.png

Click to edit Source, so you could see 

rdnguyen_3-1662119813971.png

 

View solution in original post

1 REPLY 1
rdnguyen
Helper V
Helper V

@Rob-Sims-99 

If you utilize Datamart, data is no longer fresh, but be imported from original datasource to sit inside Datamart waiting. Why would you try to use Direct Query in this scenario, but not import from a prepared table transform inside Datamart or within Power BI Desktop?

 

Regarding your question, you can only find the option for Direct Query but no option for the advanced options to ingest SQL query from the very begining, but a walk a bit further (I believe Datamart will have it eventually)

from Power BI Desktop > Datahub > Datamart > Connect to SQL Endpoint > Navigator > 

rdnguyen_1-1662119200565.png

 

rdnguyen_0-1662119166846.png

Then go to Power Query Editor, edit the Source where you should see this button next to

rdnguyen_2-1662119767737.png

Click to edit Source, so you could see 

rdnguyen_3-1662119813971.png

 

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.