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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Report couldn't access data source in Direct Query mode

 

I've created a simple report with PBI desktop. In desktop all works fine.

When I open the report in the service i get the following error:

Report couldn't access the data source because it doesn't have persmissions. 

ErrorAccesDenied.pngimage.png

The gateway is online and when I go to the data sets it refreshes every 15 minutes.

 

Where do i set the persmissions?

I connect to a sql server 2016 , with basic authentiction.

 

 

 

1 ACCEPTED SOLUTION

@Anonymous I would assume that the credentials can access the SQL Server, otherwise you wouldn't be able to use the datasource. My thought is that while it can reach the SQL Server, it can't access all the tables/views that it needs to in order to produce the report results... what level of permission does it have on the SQL Server? Is it a different account, or your credentials?

Alternatively, did you use a basic auth connection in the Desktop?


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

21 REPLIES 21
Anonymous
Not applicable

No this is the first one. Can you give me a hint on how to do this? Or Check it?

DirectQuery access via service is handled different than connecting via powerbi desktop? 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors