<?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: Extracting an variable alphanumeric ID out of a text in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594784#M138876</link>
    <description>&lt;P&gt;New Column =&lt;BR /&gt;VAR _Description = Table[Column Description]&lt;BR /&gt;VAR _Pattern = "P\d{7}"&lt;BR /&gt;VAR _Match = REGEXMATCH(Table[Column Description], "P\d{7}")&lt;BR /&gt;VAR _ExtractedID = IF(_Match, REGEXEXTRACT(_Description, _Pattern), BLANK())&lt;BR /&gt;RETURN _ExtractedID&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 19:25:41 GMT</pubDate>
    <dc:creator>Jayaselvan</dc:creator>
    <dc:date>2023-12-20T19:25:41Z</dc:date>
    <item>
      <title>Extracting an variable alphanumeric ID out of a text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594428#M138859</link>
      <description>&lt;P&gt;How to extract out of “Column Description” the alphanumeric ID that always starts with the letter P and is followed by 7 digits and put it in a separate column?&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Column Description&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Charles has engaged on Project P5671223 with Peter&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;with P8702345 the delivery succeeds to saint Paul and Mary&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;together with others P9906123 was a success&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;William and John knew about P8765439&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Paul and Peter as well as Anne like the breeze P9908765 brings&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 20 Dec 2023 16:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594428#M138859</guid>
      <dc:creator>HILGARTH</dc:creator>
      <dc:date>2023-12-20T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting an variable alphanumeric ID out of a text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594724#M138871</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I couldn't do it with DAX, but if M code is okay then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= Text.Middle(Text.Select([Column Description], {"0".."9"}), Text.PositionOf(Text.Select([Column Description], {"P", "0".."9"}), "P")&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 18:44:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594724#M138871</guid>
      <dc:creator>Etero</dc:creator>
      <dc:date>2023-12-20T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting an variable alphanumeric ID out of a text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594784#M138876</link>
      <description>&lt;P&gt;New Column =&lt;BR /&gt;VAR _Description = Table[Column Description]&lt;BR /&gt;VAR _Pattern = "P\d{7}"&lt;BR /&gt;VAR _Match = REGEXMATCH(Table[Column Description], "P\d{7}")&lt;BR /&gt;VAR _ExtractedID = IF(_Match, REGEXEXTRACT(_Description, _Pattern), BLANK())&lt;BR /&gt;RETURN _ExtractedID&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 19:25:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3594784#M138876</guid>
      <dc:creator>Jayaselvan</dc:creator>
      <dc:date>2023-12-20T19:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting an variable alphanumeric ID out of a text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3596454#M138953</link>
      <description>&lt;P&gt;Thx for this proposal - took me a second to find out that this is R &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 10:53:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3596454#M138953</guid>
      <dc:creator>HILGARTH</dc:creator>
      <dc:date>2023-12-21T10:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting an variable alphanumeric ID out of a text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3596456#M138954</link>
      <description>&lt;P&gt;nice - quick &amp;amp; easy done.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 10:54:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-an-variable-alphanumeric-ID-out-of-a-text/m-p/3596456#M138954</guid>
      <dc:creator>HILGARTH</dc:creator>
      <dc:date>2023-12-21T10:54:25Z</dc:date>
    </item>
  </channel>
</rss>

