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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Lokisame
Helper I
Helper I

Test as role - connected raport

Hello, 

is it posible to test a role on connected raport in service. By default, role testing is run on a report created with the model. Can I change the report connected to the data model somehow?

4 REPLIES 4
v-shex-msft
Community Support
Community Support

HI @Lokisame,

AFAIK, RLS is a role-based row-level filter. You can change the assigned roles then users will view correspond contents filtered by the lastest role.

In addition, you can also consider configuring a dynamic RLS role based on the user name or other dynamic functions. (e.g. username, today...) They will extract the specific value based on the current user or system DateTime and apply the filter on it.

RLS with UserName() 

BTW, if your data source is AS tabular, you can also configure RLS filter on your database side:
Implement row-level security in an Analysis Services tabular model 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Stay away from Username(), it behaves differently on the Desktop and the service. Always use UserPrincipalName().

lbendlin
Super User
Super User

So you are saying you have a workspace with a dataset and two reports that are based on the dataset.  Now you want to test the dataset's RLS against the second report?  Did I get that right?

Exactly

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors