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
dennisnxl
Regular Visitor

Paginated Reports in App - Could not connect to the data source

Hi

I have a paginated report which is built in Power BI Report Builder and it uses shared Power BI dataset with RLS (Premium workspace).

I published the report as an app and I can use it without any problems, but oher users (e.g. external) with access to the App get the following error:

Could not connect to the data source.
There was an error communicating with Analysis Services. Please verify that the data source is available and your credentials are correct. The connection either timed out or was lost.

 

error.JPG

 

I already gave app users Build permission on the dataset as suggested at  Error when accessing paginated reports published to an app - "Could not connect to data source" 
 
Any ideas how to fix that?
 
Btw. I don't want to add all users to the workspace - just to the app.
 
Edit: The report works without RLS, so as workaround I will build the security around separate datasets.
1 ACCEPTED SOLUTION

In this case I simply removed row level security and created a separate dataset for each "role".

Back then it was a classic workspace, but since the new workspace experience is available (which gives more control over roles) it is no longer an issue.

 

More information about differences between classic and new:

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-upgrade-workspaces

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Any luck in solving this issue? Have you find a resolution already?

 

BR Frank

In this case I simply removed row level security and created a separate dataset for each "role".

Back then it was a classic workspace, but since the new workspace experience is available (which gives more control over roles) it is no longer an issue.

 

More information about differences between classic and new:

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-upgrade-workspaces

Anonymous
Not applicable

Hi @dennisnxl,

 

Thank you for your response.

 

Yesterday I did some further testing and I discovered that in our current situation it was caused due to the combination of having an group assignment at role level ("Security") and an individual assignment at permission level ("Manage permissions") regarding the given dataset. It is still under investigation; it might result into a ticket to Microsoft.

 

BR Frank 

Icey
Community Support
Community Support

Hi @dennisnxl ,

Is your data source "Analysis Service"? If it is, do you map user names? If not, please refer to this document to map user names.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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