Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi All,
I need to hide some sensitive column details (Eg: Name) based on logged in user. I cannot use USERPRINCIPALNAME() in a calculated column.
I need to create a slicer on this sensitive column and creating a measure is not an option.
Is there a way to manipulate column data based on USERPRICIPALNAME. (Column level security)
Solved! Go to Solution.
Take a look at the following blog to see if their solution maybe an option for you
https://sqldusty.com/2019/10/08/dynamic-column-level-security-with-power-bi-and-ssas/
Hi @amitchandak I have to implement almost the same scenario mentioned above.. You stated following in the above post "The best you can do making that value as blank for a user using - USERPRICIPALNAME".
Can you please suggest steps for same. I tried it but as the UserPrinicipalName can be used only in measure, I a, not able to implement the dynamic Column security. Also the requirement is for both internal as well as external users. I have to show all columns to internal user but conditionally show few columns to an external user. Please suggest.
If you have solved your problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
Take a look at the following blog to see if their solution maybe an option for you
https://sqldusty.com/2019/10/08/dynamic-column-level-security-with-power-bi-and-ssas/
@ArunTiruveedula , I doubt that is possible - refer -https://blog.pragmaticworks.com/row-column-and-table-level-security-in-power-bi
The best you can do making that value as blank for a user using - USERPRICIPALNAME
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |