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

Decrypt Column in Power Query from Snowflake

Hi

 

I have encrypted a column called [ENCR_NOTE] in Snowflake using the encrypt built in function.

 

I have loaded the data in Power Query and I m trying to now decrypt it.

 

How can I decrypt them please? I know the passphrase and want to decrypt them in Power BI.

 

Please help

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Thank you! Could you please tell me more or point me to the article that will help me?

Syndicate_Admin
Administrator
Administrator

Yes it is select *, to_varchar(decrypt(encr_note, 'xxxx'), 'utf-8') notes 
from finrep_dev.treasury.cash_balance_fact_encr_pbi

 

And I have now managed to decrypt them . The challenge for me now is to manage to decrypt with a passphrase. Please help me with that...any ideas?

 

You can use parameters to supply the passphrase. Obviously that is not safe. You could also store the passphrase elsewhere like a SharePoint document library with restricted access. Doing that will likely result in issues with the formula firewall.

lbendlin
Super User
Super User

Do you know the algorithm too?

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.

Top Solution Authors