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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to get encrypted data from datasource to Power Bi Desktop

Hi All,

 

I have a SQL Server Datasource in which few of my data is encrypted for eg. Person salary column. Now i want to get these data in my PowerBi dasktop to create a report. Right now when i am connecting the data it is showing Binary.

 

Please let me know how can i get the data in desktop in decryted form.

 

Thanks. 

1 REPLY 1
d_gosbell
Super User
Super User

It depends on how the data was encrypted. If you used the EncryptByKey function in T-SQL you could use the matching DecryptByKey function in a view or select statement to decrypt the data.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.