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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Aroth
Advocate II
Advocate II

RLS not same than report filter

Hello, 

 

How is it possible that a RLS filter on one field doesnt give the same result as if I select manually the filter on my report?
When I select "view as" : it doesn't update on each visual while it's doing it with the manual filter.

Thanks,


1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @Aroth,

 

Where did you use "view as", in desktop or service? How did you define the role? If you use the UseName() to define the role, please note username() will return a user in the format of DOMAIN\User in desktop, while email address in service. See: Using the username() DAX function.

 

Based on my test, the role works fine both in desktop and service.

 

w1.PNGw2.PNGw3.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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