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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors