Forum Discussion
Data Masking In Power BI Table visual
- 1 year ago
Hi Koritala ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you Ritaf1983 Thejeswar for the prompt response.
I have created PBIX file using sample data for Dynamic masking.Please go through the attached PBIX for your reference, even I have tested by replacing USERPRINCIPALNAME() with the email id existing in my UserAccess table.It worked for me.
It shows real data for users with "Y" in IsPIIUser.
It shows asterisks for users with "N" in IsPIIUser.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you.
Hi Koritala
In Power BI, there is no native support for masking column values like "XXXXXX" based on user type. What you can do instead are the following two approaches:
-
Row-Level Security (RLS) – You can restrict entire rows based on user access. However, this won't allow you to show/hide or mask specific column values based on user identity. Column-level security is not natively supported.
More information is by the link:
https://www.youtube.com/watch?v=jphj40tBPD8 -
Separate Report Versions – You can create two versions of the report: one for PII users and another for non-PII users (where sensitive columns are removed or replaced with placeholders). Then, use audience targeting in the Power BI app to share each version with the appropriate group.
https://www.youtube.com/watch?v=nchNa44o2D4If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly