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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
RashmitaR
Helper IV
Helper IV

RLS using common user id


Hi , I am trying to create a report

User_idEmail idProject Idvalue
1Pras@abc.comP_0011000
2Pras@abc.comP_00220000
3Gop@abc.comP_00320000
4Gop@abc.comP_00415000

Here user 1 and 2 are logging into power bi using Pras@abc.com user id and user 3 and 4 are loggoin into power bi using Gop@abc.com user id .
but all the users are allocated to different project .
If i want to create a role where each user can only be able to have a look at its respective project value , Could someone please help me with the DAX that I should mention in the filters.

Or is there any other way to achieve this functionality?

1 REPLY 1
Anonymous
Not applicable

Hi @RashmitaR

In your scenario, it is not possible to create a role to make each user to view his respective project value. When you make use of USERNAME() function within your dataset, Power BI will automatically filter the data depending on the username used to login to Power BI service account.

In other words, as the users log into Power BI Service using email id, they always get two project values. You would need to ensure that they use different email id to log into Power BI.

Thanks,
Lydia Zhang

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.