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
narenderkk
New Member

Power BI view encrypted data

I am using SQL server 2016 version with Always Encryption feature to enable column level encryption of specific columns in some tables. I would like to view the decrypted data in the reports build via power bi desktop. But it is not showing any decrypted data.

I have tried different ways like creating ODBC data source also OLEDB data source by giving the addtional connection string property as "Column Encrytption Setting=Enabled", But no luck.

 

When i try with direct SQL server connection string while connecting the data source, there is no option to give this setting. The columns which are encrypted in database are showing up as binary string rather than in plain text. When i publish this report to work space there also i could see the data as binary.

 

What is the best way to get the 

1 ACCEPTED SOLUTION

Thanks Amit,

 

Below link worked for me

 

https://medium.com/@isinghrana/access-azure-sql-always-encrypted-data-in-power-bi-reports-using-mana...

 

Thanks once again for your response over weekend.

View solution in original post

3 REPLIES 3
Silverseba
New Member

Hi,

 

i'm having an issue, when i use parameters to filter the query, works fine on Report Builder, ( i' m using nvachar),

but when I publish the report it's giving me an error because report server server is passing a varchar. 
Operand type clash: varchar(12) encrypted with (encryption_type = 'DETERMINISTIC', 

 

 

amitchandak
Super User
Super User

@narenderkk , refer to these two,if can help

https://medium.com/@isinghrana/access-azure-sql-always-encrypted-data-in-power-bi-reports-using-mana...

https://visualbi.com/blogs/microsoft/powerbi/using-sql-server-always-encrypted-data-in-power-bi-repo...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks Amit,

 

Below link worked for me

 

https://medium.com/@isinghrana/access-azure-sql-always-encrypted-data-in-power-bi-reports-using-mana...

 

Thanks once again for your response over weekend.

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.