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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
mom22
New Member

How do I alter data display based on security?

I have a table that displays employee data, some of which is sensitive.  We want to hide the employee name for users who don't have the proper security.  I already have the following datasources.  I am just not sure how to link them together to get the results I want.

Employee Data:  
NameSalaryPayGroup
Jane Doe200001
John Doe150002
Jim Smith100003
Joe Shmoe50004
Tom Thumb250001

   

Current User Name:
UserName
=USERNAME()

   

User Security Info: 
UsernamePayGroup
mydomain\Donald1
mydomain\Donald2

 

I have 2 users in my example - Donald and Nancy.  When they view the report, the table should look like so:

User Donald should see:
Employee NameSalary
Jane Doe20,000
John Doe15,000
Tom Thumb25,000
*****15,000

   

User Nancy should see:
Employee NameSalary
*****75,000

 

Any ideas?

0 REPLIES 0

Helpful resources

Announcements
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.

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.