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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-eqin-msft
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 🙂

v-eqin-msft
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 Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors