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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ilcaa72
Helper IV
Helper IV

received report, i dont have access to sql

a colleague sent me a report that has 2 queries that come from SQL, when I try to "edit the queries" it ask me for permission to the SQL server (credentials).   i noticed he wrote some SQL code to get data.  Is this a direct query, should he select "import data" when quering SQL server so I can also access data thru "edit queries".

 

how can i access the data (2 small tables).  What can the user do on his end to make the data part of the model and not have to connect to SQL to access  the data on my end.  thanks

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ilcaa72,

For the first issue, you could not access the data in query editor although your colleague switched Direct Query mode to Import mode without valid data source credential. The query editor cannot read the data stored in the data model. Even if it could, the data in the data model represents the output of the very last step and the query editor wants to be able to show partial output for intermediate steps. That data is never loaded into the data model.

 

For the second issue, your colleague could create a login for you in SSMS to make sure you could access the data in query editor

Reference: https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/create-a-lo...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ilcaa72,

could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ilcaa72,

For the first issue, you could not access the data in query editor although your colleague switched Direct Query mode to Import mode without valid data source credential. The query editor cannot read the data stored in the data model. Even if it could, the data in the data model represents the output of the very last step and the query editor wants to be able to show partial output for intermediate steps. That data is never loaded into the data model.

 

For the second issue, your colleague could create a login for you in SSMS to make sure you could access the data in query editor

Reference: https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/create-a-lo...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.