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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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