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

Row Level Security on power Bi Sever

Hi All,

 

I am using Power BI Desktop and have created a Pbix with Row Level security and it works fine. But when I upload this report on the Power BI Server, it shows below errors for all the visuals.
"To view content contact the dataset owner..."

 

Any help is appreciated.

Thanks

 

1 ACCEPTED SOLUTION
FarhanAhmed
Community Champion
Community Champion

Can you please share the screenshot of the error? are you getting this error in visuals?

 

Did you add your users to below

 

--> Right click on report and click Manage.

--> On Left side you will see "Row Level Security"

--> Click Add member to add users and click on the role you want to provide on RLS.

 

FarhanAhmed_1-1617602522744.png

 

 

FarhanAhmed_2-1617602550605.png

 

 

 

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
FarhanAhmed
Community Champion
Community Champion

Can you please share the screenshot of the error? are you getting this error in visuals?

 

Did you add your users to below

 

--> Right click on report and click Manage.

--> On Left side you will see "Row Level Security"

--> Click Add member to add users and click on the role you want to provide on RLS.

 

FarhanAhmed_1-1617602522744.png

 

 

FarhanAhmed_2-1617602550605.png

 

 

 

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Anonymous
Not applicable

Many Thanks.. It worked

 

Regards

AbhiSSRS
Solution Sage
Solution Sage

Hi!

Could you please confirm if you are using userprincipalname:

 

"Be aware that username() has the format of DOMAIN\username within Power BI Desktop. Within the Power BI service and Power BI Report Server, it's in the format of the user's User Principal Name (UPN). Alternatively, you can use userprincipalname(), which always returns the user in the format of their user principal name, username@contoso.com. "

 

https://docs.microsoft.com/en-us/power-bi/report-server/row-level-security-report-server

Anonymous
Not applicable

Hi ,

 

Yes I am using userprincipalname(), but on the Report Server it is not recognising.

 

Thanks

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.