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
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Solution Authors