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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors