<?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 Regex for extracting a particular string in the records of a Column in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Regex-for-extracting-a-particular-string-in-the-records-of-a/m-p/4111041#M54886</link>
    <description>&lt;P&gt;Need to extract a particular alphanumeric string from the records of a column.Add a new column in the report for the extracted values and add to the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&amp;nbsp; Swift/Bic:STRULM23L is the string to be extract from every records of a column which has many alphanumeric values and add it to the another new column.This&amp;nbsp;Swift/Bic:STRULM23L differs in every record as&amp;nbsp;BIC/Swift:STRULM23 or&amp;nbsp;Swift/Bic Code :VBTYSI890 ETC...&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 10:57:37 GMT</pubDate>
    <dc:creator>Anne_Vyolett</dc:creator>
    <dc:date>2024-08-21T10:57:37Z</dc:date>
    <item>
      <title>Regex for extracting a particular string in the records of a Column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Regex-for-extracting-a-particular-string-in-the-records-of-a/m-p/4111041#M54886</link>
      <description>&lt;P&gt;Need to extract a particular alphanumeric string from the records of a column.Add a new column in the report for the extracted values and add to the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&amp;nbsp; Swift/Bic:STRULM23L is the string to be extract from every records of a column which has many alphanumeric values and add it to the another new column.This&amp;nbsp;Swift/Bic:STRULM23L differs in every record as&amp;nbsp;BIC/Swift:STRULM23 or&amp;nbsp;Swift/Bic Code :VBTYSI890 ETC...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 10:57:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Regex-for-extracting-a-particular-string-in-the-records-of-a/m-p/4111041#M54886</guid>
      <dc:creator>Anne_Vyolett</dc:creator>
      <dc:date>2024-08-21T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for extracting a particular string in the records of a Column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Regex-for-extracting-a-particular-string-in-the-records-of-a/m-p/4112310#M54897</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/794967"&gt;@Anne_Vyolett&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're getting consistent strings in your data, you can just consider using the calculated columns find() and mid() to get the strings&lt;/P&gt;
&lt;P&gt;Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
var _swift=
FIND(
    "Swift",'Table'[Column1],1,BLANK())
var _bic=
FIND(
    "Bic",'Table'[Column1],1,BLANK())
RETURN
IF(
    _swift&amp;lt;_bic,
    MID('Table'[Column1],_swift,19),
    MID('Table'[Column1],_bic,19
))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1724292287976.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1155059iE1CAF59B22E12F46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1724292287976.png" alt="vyangliumsft_0-1724292287976.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the string to be fetched is not fixed, you may consider calling a Python script to process the data using regular expressions, check out the blog on steps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/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;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the related document, you can view this content:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-Query/Extraction-of-multiple-7-characters-text-substrings-starting/td-p/2109180" target="_blank"&gt;Solved: Extraction of multiple 7 characters text substring... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-Query/Extract-Values-From-a-List-of-Records/td-p/2061234" target="_blank"&gt;Solved: Extract Values From a List of Records - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 02:05:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Regex-for-extracting-a-particular-string-in-the-records-of-a/m-p/4112310#M54897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-22T02:05:48Z</dc:date>
    </item>
  </channel>
</rss>

