cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Caldowd98
Helper I
Helper I

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.

 

To save making 66 versions of the app, i want it that when the user logs in, it filters the data source to show just their data.

 

Is this possible ?

 

Many thanks !

1 ACCEPTED SOLUTION
Eyelyn9
Community Support
Community Support

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.

Eyelyn9_0-1639622869970.png

 

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

Eyelyn9_2-1639623066798.png

 

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.

View solution in original post

2 REPLIES 2
Caldowd98
Helper I
Helper I

Brill thank you so much 🙂

Eyelyn9
Community Support
Community Support

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.

Eyelyn9_0-1639622869970.png

 

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

Eyelyn9_2-1639623066798.png

 

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Kudoed Authors