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

Encrypt and Decrypt in Power BI

Hi,

 

We have an encrypted column for staff no. in snowflake.I have to decrypt the same in power BI.

We already wrote a decrypt function (UDF)  in snowflake.How can i call that decrypt UDF in power BI.

 

Regards,

 

Shivendra

1 REPLY 1
Anonymous
Not applicable

Hi  @shivendraaa,

Currently, Power BI doesn't support connect to UDF of snowflake in Power BI directly. You can review the following links and check if it can be used as an workaround.

Custom SQL Now Supported in the Snowflake Connector for Power BI!

Extract Data from Snowflake using User Defined Function

Currently Snowflake connector doesn't support to bring User Defined Functions into Power BI. I found a similar idea about this requirement as below. You can vote it up. 

Microsoft Idea - Power BI Support to call Snowflake Functions with Parameters that return Table

 

As User Defined Function is not supported, if your purpose is to filter data that will be imported into Power BI, you can use Power Query parameters as an alternative. In steps that filter rows with specific date columns, use ...

 

You can also create a custom function in Power Query. You can define query parameters for this custom function and let other users invoke this function to query data and generate a table result. 

Using custom functions in Power Query - Power Query | Microsoft Docs

Power Query Custom Functions • My Online Training Hub

If the users are not report authors but report viewers, the Dynamic M query parameters in Power BI Desktop may be an option. It can let report viewers change pa...


Best Regards

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.