Forum Discussion
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
- GilbertQSuper UserHi 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. - v-juanli-msftCommunity 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
Best Regards
Maggie