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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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...

 

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.