<?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: DAX extract text between delimiter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193063#M18929</link>
    <description>&lt;P&gt;&amp;nbsp;yes same pattern&lt;/P&gt;&lt;P&gt;the first and second post are power query which is not what i need&lt;/P&gt;&lt;P&gt;the third post, I tried to replicate but failed&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2020 17:31:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-30T17:31:22Z</dc:date>
    <item>
      <title>DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1191367#M18830</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the red text below in DAX? A text after equal and before semicolon&lt;/P&gt;&lt;P&gt;AAA=BBB,CCC=&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;DDD&lt;/FONT&gt;&lt;/STRONG&gt;;EEE=FFF&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 08:02:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1191367#M18830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T08:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1191417#M18831</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does all your column have the same pattern? i.e an = and&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also have a look at these&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Extract-text-Between-Delimiters-with-varying-text/td-p/670340" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Extract-text-Between-Delimiters-with-varying-text/td-p/670340&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wiseowl.co.uk/blog/s2535/text-between-delimiters.htm" target="_blank"&gt;https://www.wiseowl.co.uk/blog/s2535/text-between-delimiters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/DAX-extracting-string-using-delimiter/td-p/287840" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/DAX-extracting-string-using-delimiter/td-p/287840&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 08:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1191417#M18831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T08:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193063#M18929</link>
      <description>&lt;P&gt;&amp;nbsp;yes same pattern&lt;/P&gt;&lt;P&gt;the first and second post are power query which is not what i need&lt;/P&gt;&lt;P&gt;the third post, I tried to replicate but failed&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 17:31:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193063#M18929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193100#M18931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a Calculated Column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;First Derived Column =
VAR FirstEqual =
    FIND (
        "=",
        'Table'[Sorting Text],
        1
    )
VAR SecondEqual =
    FIND (
        "=",
        'Table'[Sorting Text],
        FirstEqual + 1
    )
VAR Thirdampersand =
    FIND (
        ";",
        'Table'[Sorting Text],
        SecondEqual + 1
    )
RETURN
    MID (
        'Table'[Sorting Text],
        SecondEqual + 1,
        Thirdampersand - SecondEqual - 1
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 17:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193100#M18931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-30T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193251#M18943</link>
      <description>&lt;P&gt;You can try this too for learning new trick:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GetText =
VAR OriginalText = 'Table'[Column1]
VAR CountOfEqualSign =
    LEN ( 'Table'[Column1] ) - LEN ( SUBSTITUTE ( 'Table'[Column1], "=", "" ) )
VAR AddCaret =
    SUBSTITUTE ( OriginalText, "=", "^", CountOfEqualSign - 1 )
VAR FirstCharAfterCaret =
    SEARCH ( "^", AddCaret ) + 1
VAR SemiColonPostion =
    SEARCH ( ";", OriginalText )
VAR Result =
    MID ( AddCaret, FirstCharAfterCaret, SemiColonPostion - FirstCharAfterCaret )
RETURN
    Result&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 19:10:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/1193251#M18943</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-06-30T19:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: DAX extract text between delimiter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/2908539#M94977</link>
      <description>&lt;P&gt;Hi Harsh, I am having a similar situation. I want to extract the string between "/" in the longer string, such as: "abc/def/ghijk". I used the same formula you gave and substituted with my own variables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Division = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;FirstLevel&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FIND&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"/"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;GetFolders&lt;/SPAN&gt;&lt;SPAN&gt;[FullyQualifiedName]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;SecondLevel&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FIND&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"/"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;GetFolders&lt;/SPAN&gt;&lt;SPAN&gt;[FullyQualifiedName]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FirstLevel&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MID&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;GetFolders&lt;/SPAN&gt;&lt;SPAN&gt;[FullyQualifiedName]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FirstLevel&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;SecondLevel&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The error I am getting is: "The search Text provided to function 'FIND' could not be found in the given text." I am suspecting that this is because not all strings have 2 "/". Some have 1 and some don't have any at all. I am only interested in the ones with 2 "/" and the rest can be just blank or empty.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2022 07:19:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-extract-text-between-delimiter/m-p/2908539#M94977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-16T07:19:18Z</dc:date>
    </item>
  </channel>
</rss>

