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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
andtrds
New Member

Show Values of table based on current logged in user

Hello

 

i have a table the has sample values like :

 

Value 1

Value 2

Value 3

 

i d like to create the following

when  a user logged in with email user1@demo.com to see only Value1 and selected automatically

i use RLS to see only the specific value but i cant make it to be selected automatically,user has to clik the Value 1

 

any help?

thank you

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @andtrds,

You can create RLS based on username or userprincipalname function and filter on the table field that stored user account values. This filter will extract the current username as a condition to filter records.

Solved: RLS with UserName() - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @andtrds,

You can create RLS based on username or userprincipalname function and filter on the table field that stored user account values. This filter will extract the current username as a condition to filter records.

Solved: RLS with UserName() - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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