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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
dpFr33
Advocate II
Advocate II

Dynamic masking Customer Name depending of security table. In DAX. No calculated column please

Hi,
I will want to hide customer names dynamically based on user.
I don't want to go through a calculated column!
The radacad solution does not suit me because it goes through another table. I don't want to duplicate my data.

The email addresses of my users are in a "Security" table.

I would like to be able in an array to have something like:
"IF (The current user is in the table" Security THEN show "Secure" ELSE Show the current name of the client)

Thank you
Denis

1 REPLY 1
Anonymous
Not applicable

Well, if you want to have a dimension that will be dynamically adjusting itself to the security context... then you don't have a choice: you have to store the obfuscated names somewhere. There's no way around this, I'm afraid.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.