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
AndrewF
Frequent Visitor

Error with DirectQuery report

We have a problem with creating DirectQuery report with SQL Server as a datasource in Power BI Desktop.
If a user tries to open such a report on Power BI Reporting server he will get an error message: "Unexpected error. We could not connect to Analysis Services. Check your connection string".

Annotation 2019-09-05 135729.jpg

FlightRecorderCurrent.trc in PowerBI log directory contains something like that:
Either the user, 'DOMAIN\user', does not have access to the '5a6a167e-1ca4-4054-9db9-c7700ed76fb1_705470798' database, or the database does not exist.

 

We have found some workarounds:

1. There is no error if the user is in Administrator group on the Power BI Reporting server.
2. Previous version of Power BI Desktop from January 2019 [Version: 2.65.5313.1562 64-bit (January 2019)] also creates the report with no errors.

 

Why actual version of Power BI Desktop has lost the ability to create that kind of reports? Will it be fixed?

 

Versions:
Power BI Reporting Service: 15.0.1102.371
Power BI Desktop: 2.69.5467.1801 64-bit (May 2019)

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @AndrewF ,

 

Has the creditional of your datasource been updated? Could you please have a check and clear the permission of the data source in power bi desktop and reload the report to check again.

per.PNG

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Thanks for your answer.
I've cleared that permissions but the error is still here.
When I change settings to a specific account, it works, but we need Kerberos for specific user rights.

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.