Forum Discussion

Caldowd98's avatar
Caldowd98
Helper I
4 years ago
Solved

Filtered data source based on logged in user

Hi community.   I have built a power bi app that i want to share with a wider team of 66 people.   In the data source each member of this team has their name/user assigned to their rows of data. ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Caldowd98 ,

     

    Power Mobile app could let you view reports/dashboards on mobile device. Actually you issue is related to Power Bi app which is published in Power BI service.

     

    According to your description, you want to dynamically restrict data access for people based on their username, right?

    If so, you could use RLS which ensures that for each recipient of the report a difference can be made in what data they can see.

     

    Please follow the following steps:

    1.In Power BI Desktop, go to  Modeling tab, select Manage Roles-->use USERNAME() or USERPRINCIPLENAE() to create a role.

     

    2.In the Power BI service, select the More options menu for a dataset, select Security--> Add members

     

    For more information, please refer to the official  Row-level security (RLS) with Power BI  or this article which is in detail.

     

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.