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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Auto Select On AD Log In

Can anyone help me? I am trying to have a filter alto select depending on who is logging into the report.

 

i.e. John Smith opens the sales report and the filter on the report auto defaults to John Smith, however still has the ability to change the filter to other users as required.

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

You could set Dynamic RLS for the dataset, so that when John Smith log in with his account and opens the sales report, he will only see the data for him.

While another person (eg. Maggie ) log in with his account and opens the sales report, she will only see the data for her.

Reference:

Power BI – Dynamic Row Level Security – Tips to get it working!

http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

However, in this way, If John Smith is the end user, 

He can only see his own data, he can't see other's data, so that he can't change the filter to other users as required.

 

If John Smith is the Admin (the author of the report, who set RLS for the dataset),

He still has the ability to change the filter to other users as required.

 

Here is a similar thread

https://community.powerbi.com/t5/Service/Can-Power-BI-check-filters-by-default-according-to-users/td-p/66479 

 

Best Regards

Maggie

GilbertQ
Super User
Super User

Hi there

Currently as far as I know that is not possible.

The reason being is that when you select an item on a filter, it will always keep what that item name is.

For Example if I select "Blue" as an item on filter, it will always expect the value to be blue.

What possibly might work, is if you have a filter called "Current User" and you have some kind of way to get the current user's login details and default that to "Current User" that might work.




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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.