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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ArunTiruveedula
Frequent Visitor

Column masking based on user login

Hello ,

 

I have a requirement from our user that they want to mask the contents of 'Person Name' in the Power BI grid/visualization/slicer based on the user login.

For example user1 (Power user) should be able see the contents of column 'Person Name' where as user2 (Normal user) should see the Masked data (replace name with technical key).

 

I can not create a measure for 'Person Name' because I need to use it slicer, bar graph axis etc.

 

My dataset is big enough, I can not consider duplicating each row in the FACT table and then apply RLS.

is there is any way out to this problem.

 

Thanks a lot in advance.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

No. Your only (half) choice is the duplication you mention, but even that is not secure. Any reasonably advanced user can circumvent that.

 

If you have datasets that serve sufficiently different audiences then you need separate apps.

 

Vote for the Column Level Security idea.

View solution in original post

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @ArunTiruveedula ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

v-eqin-msft
Community Support
Community Support

Hi @ArunTiruveedula ,

 

To my knowledge, RLS (Row Level Security) could not be used to limit the columns or measures accessible by my users.

In other words,If a user has access to a particular row of data, they can see all the columns of data for that row.

 


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.

lbendlin
Super User
Super User

No. Your only (half) choice is the duplication you mention, but even that is not secure. Any reasonably advanced user can circumvent that.

 

If you have datasets that serve sufficiently different audiences then you need separate apps.

 

Vote for the Column Level Security idea.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.