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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Filter report by logged in user to SharePoint

Hi,

I'm trying to createa dashboard using P_BI and it have created it, but would like the ability to filter based on the current user logged in to SharePoint Online. The reason for this is that the statistical data portrayed in the report comes from a SharePoint list for the whole department, so when the users go to it they can only see their own stats, not everyone elses. 

 

I tried the steps on this link but it didn't seem to work. 

 

Any ideas? 

 

Thanks

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Anonymous , 

You said it doesn't work, I want to know which parts don't work? You need to make sure you have user permission dataset to map with data, then you need to use USERPRINCIPALNAME ( ) in role setting in powerbi776.PNG

 If you use username(), you need to set map user in powerbi  service.

Best Regards,
Zoe Zhi

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

3 REPLIES 3
dax
Community Support
Community Support

Hi @Anonymous , 

You said it doesn't work, I want to know which parts don't work? You need to make sure you have user permission dataset to map with data, then you need to use USERPRINCIPALNAME ( ) in role setting in powerbi776.PNG

 If you use username(), you need to set map user in powerbi  service.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@dax  how can i add the user permission dataset so that I can map with the data?

 

dax
Community Support
Community Support

Hi @Anonymous , 

You could create permission like below

805.PNG

You could refer to introduction-to-row-level-security-in-power-bi  for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.