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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Kudoed Authors