<?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 Re: REGEXP_MATCH replication in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4296576#M170563</link>
    <description>&lt;P&gt;I am not looking for substring funtion , I am looking a way to check if first character is a character and then there are numbers only before substring begins, a containstring won't do that&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 06:56:38 GMT</pubDate>
    <dc:creator>anshusaketsingh</dc:creator>
    <dc:date>2024-11-22T06:56:38Z</dc:date>
    <item>
      <title>REGEXP_MATCH replication in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4295965#M170524</link>
      <description>&lt;P&gt;So I recently found out Regexp is not supported by Power BI. I wonder why would they not put anything as powerful as that in PowerBI.&lt;/P&gt;&lt;P&gt;Anway, this has put me in a situation where I am unable to create a logic in Power BI for below logic in Tableau&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;REGEXP_MATCH([Error_Message],'.*PowerBI_needs_to_support_Regexp.*') Then TRUE&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The above expression means that&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;.=&amp;nbsp;&lt;SPAN&gt;any character except newline&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;*=&lt;SPAN&gt;Any number of occurrences (including 0 occurrences)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestion how to do that in PowerBI without using Python or R?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 20:56:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4295965#M170524</guid>
      <dc:creator>anshusaketsingh</dc:creator>
      <dc:date>2024-11-21T20:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: REGEXP_MATCH replication in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4295984#M170531</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="709370" data-lia-user-login="anshusaketsingh" class="lia-mention lia-mention-user"&gt;anshusaketsingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to add a calculated column like:&lt;/P&gt;
&lt;P&gt;column =&lt;/P&gt;
&lt;P&gt;CONTAINSSTRING(&lt;/P&gt;
&lt;P&gt;[Error_Message],&lt;/P&gt;
&lt;P&gt;"PowerBI_needs_to_support_Regexp"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 21:21:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4295984#M170531</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-21T21:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: REGEXP_MATCH replication in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4296576#M170563</link>
      <description>&lt;P&gt;I am not looking for substring funtion , I am looking a way to check if first character is a character and then there are numbers only before substring begins, a containstring won't do that&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4296576#M170563</guid>
      <dc:creator>anshusaketsingh</dc:creator>
      <dc:date>2024-11-22T06:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: REGEXP_MATCH replication in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4299017#M170712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="709370" data-lia-user-login="anshusaketsingh" class="lia-mention lia-mention-user"&gt;anshusaketsingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think your requirement is to achieve your goal like regular expression in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI doesn't support this function directly. However you can try Python Script to do this.&lt;/P&gt;
&lt;P&gt;Please refer to below blog to learn more details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/Using-regular-expressions-in-power-bi-desktop/ba-p/1744760" target="_blank"&gt;Using regular expressions in power bi desktop - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 03:33:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REGEXP-MATCH-replication-in-DAX/m-p/4299017#M170712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-25T03:33:14Z</dc:date>
    </item>
  </channel>
</rss>

