<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Encrypt and Decrypt in Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Encrypt-and-Decrypt-in-Power-BI/m-p/2579302#M36712</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an encrypted column for staff no. in snowflake.I have to decrypt the same in power BI.&lt;/P&gt;&lt;P&gt;We already wrote a decrypt function (UDF)&amp;nbsp; in snowflake.How can i call that decrypt UDF in power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shivendra&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 06:35:06 GMT</pubDate>
    <dc:creator>shivendraaa</dc:creator>
    <dc:date>2022-06-15T06:35:06Z</dc:date>
    <item>
      <title>Encrypt and Decrypt in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Encrypt-and-Decrypt-in-Power-BI/m-p/2579302#M36712</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an encrypted column for staff no. in snowflake.I have to decrypt the same in power BI.&lt;/P&gt;&lt;P&gt;We already wrote a decrypt function (UDF)&amp;nbsp; in snowflake.How can i call that decrypt UDF in power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shivendra&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 06:35:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Encrypt-and-Decrypt-in-Power-BI/m-p/2579302#M36712</guid>
      <dc:creator>shivendraaa</dc:creator>
      <dc:date>2022-06-15T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt and Decrypt in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Encrypt-and-Decrypt-in-Power-BI/m-p/2588417#M36821</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="401324" data-lia-user-login="shivendraaa" class="lia-mention lia-mention-user"&gt;shivendraaa&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.snowflake.com/blog/custom-sql-now-supported-in-the-snowflake-connector-for-power-bi/" target="_self"&gt;Custom SQL Now Supported in the Snowflake Connector for Power BI!&lt;/A&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Extract-Data-from-Snowflake-using-User-Defined-Function/m-p/2472399" target="_self"&gt;Extract Data from Snowflake using User Defined Function&lt;/A&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=224a274c-6561-422e-8f2e-df88413dcd0b" target="_blank" rel="noopener nofollow noreferrer"&gt;Microsoft Idea - Power BI Support to call Snowflake Functions with Parameters that return Table&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;SPAN&gt;User Defined Function is not supported, if your purpose is to filter data that will be imported into Power BI, you can use&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/office/create-a-parameter-query-power-query-5eb365bc-3982-4ab2-8830-b205a69e0f33" target="_blank" rel="noopener nofollow noreferrer"&gt;Power Query parameters&amp;nbsp;as an alternative. In steps that filter rows with specific date columns, use date parameters to replace the fixed date values.&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/custom-function" target="_blank" rel="noopener nofollow noreferrer"&gt;Using custom functions in Power Query - Power Query | Microsoft Docs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.myonlinetraininghub.com/power-query-custom-functions" target="_blank" rel="noopener nofollow noreferrer"&gt;Power Query Custom Functions • My Online Training Hub&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If the users are not report authors but report viewers, the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters" target="_blank" rel="noopener nofollow noreferrer"&gt;Dynamic M query parameters in Power BI Desktop&lt;SPAN&gt;&amp;nbsp;may be an option. It can let report viewers change parameter values at the report level. But this feature is only available for queries in DirectQuery mode and it has some limitations &amp;amp; considerations need to consider in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 07:09:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Encrypt-and-Decrypt-in-Power-BI/m-p/2588417#M36821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-20T07:09:26Z</dc:date>
    </item>
  </channel>
</rss>

