<?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: Search for text among numeric values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538151#M71407</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm from Jordan but I live in Dubai - UAE&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 07:54:27 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-05-25T07:54:27Z</dc:date>
    <item>
      <title>Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535385#M71239</link>
      <description>&lt;P&gt;Hello community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to solve one task. In collum have data that starts with numbers, then we have text, then again numbers, the goal is to select the text between two numbers and to insert it into seperate collum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example we have: 000235123 Example text between numbers 234234424&lt;/P&gt;&lt;P&gt;The goal is that we need to select only text between numbers from this collum and insert into seperate one. Result should be:&amp;nbsp;Example text between numbers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cannot do this in power querry, because increment update will not work, so we need to use some kind of dax function.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 07:56:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535385#M71239</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-24T07:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535578#M71247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please clarify further&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 08:50:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535578#M71247</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-24T08:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535619#M71250</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;in collum1 we have original data. The goal is to make "result" collum, which will copy text, that is located betweeen numbers in collum 1.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Collum1&lt;/TD&gt;&lt;TD&gt;result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;000235123 Example text between numbers 234234424&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;Example text between numbers&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 24 May 2022 09:00:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535619#M71250</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-24T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535755#M71255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;First step is to create a seperate table containing all the letters that you consider as string&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Text Letters = 
SELECTCOLUMNS ( 
    { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ", "-", "_", ")", "(", "[", "]", ",", ";", ":", "{", "}", "*", "&amp;amp;", "%", "$", "#", "@", "!", "?", "&amp;lt;", "&amp;gt;", "+", "=", "." }, 
    "Letter", [Value] 
)&lt;/LI-CODE&gt;&lt;P&gt;Then create new column&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Text = 
VAR ValueLength = LEN ( 'Table'[String] )
VAR T3 = GENERATESERIES ( 1, ValueLength )
VAR T4 = ADDCOLUMNS ( T3, "@StringLetter", MID ( 'Table'[String], [Value], 1 ) )
VAR T5 = ADDCOLUMNS ( T4, "@TexLetters", IF ( [@StringLetter] IN VALUES ( 'Text Letters'[Letter] ), LOWER ( [@StringLetter] ) ) )
RETURN
    CONCATENATEX ( T5, [@TexLetters] )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 09:49:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535755#M71255</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-24T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535959#M71263</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Hello and thank you, great idea I must say.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the problem is that sometimes te cell has also text after digits, and we need to consider only part of text that is between digits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Source&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;34234 Test text 3434 another text&lt;/TD&gt;&lt;TD&gt;Test text&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we will use your solution it will take all the text, but we need only the part that is between digits.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 11:06:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535959#M71263</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-24T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535984#M71264</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok this is pretty complex. I'll play with it when I have some extra time. Have a good day&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 11:20:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2535984#M71264</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-24T11:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2536000#M71267</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,&amp;nbsp;Thank you, I look forward to the good news.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 11:29:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2536000#M71267</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-24T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2536413#M71289</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have an idea for a potential solution. I will post it tomorrow morning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 13:36:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2536413#M71289</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-24T13:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2537866#M71386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As promissed, here is the solution (No need for the letters table)&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Text = 
VAR String = 'String Table'[String]
VAR StringLength = LEN ( String )
VAR T1 = SELECTCOLUMNS ( GENERATESERIES ( 0, 9, 1 ), "@Number", [Value] &amp;amp; "" )
VAR T2 = SELECTCOLUMNS ( GENERATESERIES ( 1, StringLength ), "@Index", [Value] )
VAR T3 = ADDCOLUMNS ( T2, "@StringLetters", MID ( String, [@Index], 1 ) )
VAR T4 = ADDCOLUMNS ( T3, "@TexLetters", IF ( NOT ( [@StringLetters] IN T1 ), LOWER ( [@StringLetters] ), "|" ) )
VAR T5 = 
    ADDCOLUMNS ( 
        T4, 
        "Text Letters", 
        VAR PreviousIndex = [@Index] - 1
        RETURN
            IF ( MAXX ( FILTER ( T4, [@Index] = PreviousIndex ), [@TexLetters] )  &amp;lt;&amp;gt; "|", [@TexLetters] ) )
VAR T6 = FILTER ( T5, [Text Letters] &amp;lt;&amp;gt; BLANK ( ) )
RETURN
    PATHITEM ( CONCATENATEX ( T6, [Text Letters] ), 2 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:09:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2537866#M71386</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-25T06:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538076#M71403</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;You are incredible, I would shake your hand.&amp;nbsp;Where are you from?&lt;BR /&gt;Greetings from Ukraine&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 07:32:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538076#M71403</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-25T07:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538151#M71407</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm from Jordan but I live in Dubai - UAE&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 07:54:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538151#M71407</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-25T07:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538750#M71450</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Do you understand Russian or Ukrainian&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 11:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538750#M71450</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-25T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538799#M71455</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312820" data-lia-user-login="DimaMD" class="lia-mention lia-mention-user"&gt;DimaMD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;No but my cousin is married to Belarusian and he is staying with his wife here in Dubai.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 12:00:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538799#M71455</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-25T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538809#M71456</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Belarusian is a related language with Russian and Ukrainian&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 12:07:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2538809#M71456</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-05-25T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834798#M90412</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;Si je veux le contraire, extraire les chiffres svp?&lt;/P&gt;&lt;P&gt;If I want the opposite, extract the digits please?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Meci d'avance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amal&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 18:31:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834798#M90412</guid>
      <dc:creator>Amy_Qc</dc:creator>
      <dc:date>2022-10-11T18:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834852#M90415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="419101" data-lia-user-login="Amy_Qc" class="lia-mention lia-mention-user"&gt;Amy_Qc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please provide more details perhaps with example.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 19:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834852#M90415</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-11T19:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834859#M90416</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;want extract just numbers with $, thank you tamer in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;amal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 19:17:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834859#M90416</guid>
      <dc:creator>Amy_Qc</dc:creator>
      <dc:date>2022-10-11T19:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834884#M90417</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="419101" data-lia-user-login="Amy_Qc" class="lia-mention lia-mention-user"&gt;Amy_Qc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's too late now, I'll work on tomorrow morning. However, I have some questions?&lt;/P&gt;
&lt;P&gt;do the numbers come with spaces in between as shown in screenshot?&lt;/P&gt;
&lt;P&gt;would you like the output to be of decimal/integer data type (can be used later to perform further calculations) or would you like to have them as is (string type)?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 19:25:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834884#M90417</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-11T19:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834895#M90418</link>
      <description>&lt;P&gt;No problem, when you can, you are right preferably to have them decimal/integer and yes&amp;nbsp;the numbers are separated by spaces as shown in the screenshot&lt;/P&gt;&lt;P&gt;thank youuu tamer&lt;/P&gt;&lt;P&gt;Amal&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 19:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2834895#M90418</guid>
      <dc:creator>Amy_Qc</dc:creator>
      <dc:date>2022-10-11T19:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search for text among numeric values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2835703#M90476</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="419101" data-lia-user-login="Amy_Qc" class="lia-mention lia-mention-user"&gt;Amy_Qc&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hi Amal,&lt;/P&gt;
&lt;P&gt;Please refer to attached sample file with the solution. Please let me know if you face any trouble&amp;nbsp;implementing&amp;nbsp;the same on your actual data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Output = 
VAR String = 'Table'[Input]
VAR Items = SUBSTITUTE ( String, " ", "|" )
VAR Length = PATHLENGTH ( Items )
VAR T1 = GENERATESERIES ( 0, 9, 1 )
VAR T2 = GENERATESERIES ( 1, Length, 1 )
VAR T3 = ADDCOLUMNS ( T2, "@Item", PATHITEM ( Items, [Value] ) )
VAR T4 = 
    FILTER ( 
        T3, 
        VAR T5 = FILTER ( T1, CONTAINSSTRING ( [@Item], [Value] ) )
        VAR Condition1 = NOT ISEMPTY ( T5 )
        VAR Condition2 = NOT ( CONTAINSSTRING ( [@Item], "-" ) )
        VAR Condition3 = NOT ( CONTAINSSTRING ( [@Item], "/" ) )
        RETURN
            Condition1 &amp;amp;&amp;amp; Condition2 &amp;amp;&amp;amp; Condition3
    )
VAR Digits = CONCATENATEX ( T4, [@Item] )
VAR Factor = 
    SWITCH ( 
        TRUE ( ),
        CONTAINSSTRING ( String, "K$" ), 1000,
        CONTAINSSTRING ( String, "M$" ), 1000000,
        CONTAINSSTRING ( String, "B$" ), 1000000000
    )
RETURN
    VALUE ( Digits ) * Factor&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 04:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-for-text-among-numeric-values/m-p/2835703#M90476</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-12T04:55:26Z</dc:date>
    </item>
  </channel>
</rss>

