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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
giuliapiazza94
Helper IV
Helper IV

Role of external agent

Hi guys,

I have to do a report that I want to give an agent. 

This agent can see only his data (his sales, his orders, etc).

I've published the report on Power BI web with a license PRO and I want to share it with him.

Do I need to use this? I don't know how write dax query to limite his email address (he must have an account with license PRO, right?)

 

giuliapiazza94_0-1642091245924.png

 

Can you help me, please?

Thank you all 😊

 

1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

You can create filter rules by pressing the "..." next to tables. Here is an RLS example, but I do recommend checking this documentation (it is quite good): 


https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
Example data:

ValtteriN_0-1642101310456.png

Rule:
[Email] = "John.Doe@email.com"


By pressing view as I can check if this works:

ValtteriN_1-1642101414693.png

 

ValtteriN_2-1642101430317.png


To add users to a group check the documentation I linked.

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @giuliapiazza94 ,

 

If you want to restrict data access for many users, please use username() or userprincipalname() to configure RLS to enable dynamic data security. 

 

For example, please create roles-->select a table that has Account field-->write the DAX syntax as shown below. After publishing,  go to Power BI service , select the dateset--> More options, select Security-->Manage roles 

[Account]=username()

 

Here is a blog talking about how to set  Dynamic Row Level Security (Dynamic RLS)

 

 

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.

ValtteriN
Super User
Super User

Hi,

You can create filter rules by pressing the "..." next to tables. Here is an RLS example, but I do recommend checking this documentation (it is quite good): 


https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
Example data:

ValtteriN_0-1642101310456.png

Rule:
[Email] = "John.Doe@email.com"


By pressing view as I can check if this works:

ValtteriN_1-1642101414693.png

 

ValtteriN_2-1642101430317.png


To add users to a group check the documentation I linked.

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors