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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pbiforum123
Post Patron
Post Patron

How to encrypt the salary details in Power BI dashboard

In one of the dashboards we have salary details of all the employees of all the departments. Due to security reasons they do not want to expose the salary of the employees and even for the managers. They can see salary on entire department but not the individual.

Only 2 people of the organization should be able to see the salary of all the employees and individual employee or Manager can see the salary at department level. They have already implemented this security requirement in the Azure. So in the backend also if anyone of this 2 logs in to the database then only they will be able to see the salary details rest won’t be able to see the salary details.

So how can we use encryption feature in Power BI to implement the security. Please help!

4 REPLIES 4
Greg_Deckler
Super User
Super User

You need RLS (row level security)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

Thanks a lot for your response. I understand there is something called RLS through which we can control it. But in my case even developers shouldn't be seeing the salary which those 2 can only see. What I mean if the developers try to "View as Role" with these 2 e-mail they will be able to see the salary details of all the employees which also need to be avoided in my case. 

 

How they have restricted in database similar way it has to be restricted in Power BI also. Hope it is clear now?

Not especially clear. Are you saying that you have report developers and that they should not see the salary information for those employees while they are developing the report? If that is the case, then the only solution would be to use Direct Query with RLS in the Tabular model. But, even then, who has access to the tabular model and what can they see?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Yes you got it right... Other than those 2 individuals rest of them should not see anywhere else, be it Power BI or Database. Only those 2 should be able to see in Power BI or Database.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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