The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, In my data model, I have sensitive data like username, mobile number, etc., in the Users Table. My requirement is to show the User's details in the visual but with masked values only for a particular group of users(Report Consumers). While a certain group of users (lets say Admins) should be able to see the full data in the visual.
I have tried Object Level Security(OLS) on the columns with sensitive data for restricting the data. But this is not helping me out since OLS restricts on the dataset level and the visual breaks for the report consumers.
I want the visual to dynamically change the field values based on the logged in User(User or Admin). Like if a Report Consumer visits the report, it should show masked data and if an Admin visits the report, it should show full data without masking. Also I have a Search Box visual in my report to search for the users with Username and Mobile number fields which should work for the Admin to use it.
I have attached the sample .pbix file. The dataset provided is dump data. Here, I have applied OLS on Username, Mobile number and Email fields against Report Consumer role. Upon viewing the report as report consumer, the visual breaks. But I expect it to show a default value or encrypted one.
Thank you!
Solved! Go to Solution.
Hey @PowerBI_Mallow ,
maybe you can combine OLS and Field parameters as Chris Webb describes in this article: https://blog.crossjoin.co.uk/2022/05/22/stopping-some-users-seeing-certain-columns-or-measures-in-yo...
Hopefully, this provides what you are looking for.
Regards,
Tom
Hey @PowerBI_Mallow ,
maybe you can combine OLS and Field parameters as Chris Webb describes in this article: https://blog.crossjoin.co.uk/2022/05/22/stopping-some-users-seeing-certain-columns-or-measures-in-yo...
Hopefully, this provides what you are looking for.
Regards,
Tom
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
54 | |
26 | |
14 | |
14 | |
12 |
User | Count |
---|---|
105 | |
37 | |
26 | |
23 | |
20 |