<?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 Number from Text to New Column with DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-Number-from-Text-to-New-Column-with-DAX/m-p/2696104#M81362</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Generally I would recommend doign these kind of changes in Powerquery, but if you want to do this in the first idea that comes to my mind is using something like this (this works since your data seems quite uniform)&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Column = &lt;/SPAN&gt;&lt;SPAN&gt;LEFT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (10)'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;LEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (10)'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;&lt;BR /&gt;If this is not sufficient I would recommend using GENERATESERIES like in this post:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number-column/m-p/2218410" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number-column/m-p/2218410&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;
&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Aug 2022 19:51:17 GMT</pubDate>
    <dc:creator>ValtteriN</dc:creator>
    <dc:date>2022-08-11T19:51:17Z</dc:date>
    <item>
      <title>Extracting Number from Text to New Column with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-Number-from-Text-to-New-Column-with-DAX/m-p/2696075#M81358</link>
      <description>&lt;P&gt;I have a derived column that contains units. My goal is to Extract only the numbers from the column making sure the new column is an integer column.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:37:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-Number-from-Text-to-New-Column-with-DAX/m-p/2696075#M81358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-11T19:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting Number from Text to New Column with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-Number-from-Text-to-New-Column-with-DAX/m-p/2696104#M81362</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Generally I would recommend doign these kind of changes in Powerquery, but if you want to do this in the first idea that comes to my mind is using something like this (this works since your data seems quite uniform)&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Column = &lt;/SPAN&gt;&lt;SPAN&gt;LEFT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (10)'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;LEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (10)'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;&lt;BR /&gt;If this is not sufficient I would recommend using GENERATESERIES like in this post:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number-column/m-p/2218410" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number-column/m-p/2218410&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;
&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extracting-Number-from-Text-to-New-Column-with-DAX/m-p/2696104#M81362</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-08-11T19:51:17Z</dc:date>
    </item>
  </channel>
</rss>

