<?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 Keyword from another Table and retrieve values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023053#M102938</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434043" data-lia-user-login="Raif8522" class="lia-mention lia-mention-user"&gt;Raif8522&lt;/a&gt;&amp;nbsp;I have done that in Power Query,&amp;nbsp;look at the attached pbix.&lt;/P&gt;
&lt;P&gt;If that's correct, accept my answer as a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 11:32:10 GMT</pubDate>
    <dc:creator>BeaBF</dc:creator>
    <dc:date>2023-01-16T11:32:10Z</dc:date>
    <item>
      <title>Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3022971#M102929</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i was trying to write a Dax formula to search a Keyword from Table B in "Comments" column on Table A and retrieve a "Date Open" &amp;amp; "Date Closed" values.&lt;/P&gt;&lt;P&gt;i tried to use&amp;nbsp; =Calculate(Firstnonblank([TableA],Filter([TableA],Search("Reference","Comments"&amp;gt;0),ProductID))) but after SEARCH commend, "Reference" column is not available.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table A&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Date Open&lt;/TD&gt;&lt;TD&gt;Date Closed&lt;/TD&gt;&lt;TD&gt;Incident ID&lt;/TD&gt;&lt;TD&gt;Product ID&lt;/TD&gt;&lt;TD&gt;Comments&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/11/2022&lt;/TD&gt;&lt;TD&gt;01/12/2022&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;*****20221101-212-Screen Error*****&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10/09/2021&lt;/TD&gt;&lt;TD&gt;10/10/2022&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;*****20211009-212-NoPrint*****&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/01/2023&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;215&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;*****20230101-215-ResistorFailure*****&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12/12/2022&lt;/TD&gt;&lt;TD&gt;14/12/2022&lt;/TD&gt;&lt;TD&gt;217&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;*****20221212-217-NoError******&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/07/2022&lt;/TD&gt;&lt;TD&gt;08/07/2022&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;*****20220701-212-Unknown*****&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table B&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Date Open&lt;/TD&gt;&lt;TD&gt;Date Closed&lt;/TD&gt;&lt;TD&gt;Product ID&lt;/TD&gt;&lt;TD&gt;Reference&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;20221101-212-Screen Error&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;217&lt;/TD&gt;&lt;TD&gt;20221212-217-NoError&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;20220701-212-Unknown&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Anyone here can help me with the formula or if you think PowerQuery will be better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 10:45:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3022971#M102929</guid>
      <dc:creator>Raif8522</dc:creator>
      <dc:date>2023-01-16T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023032#M102934</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434043" data-lia-user-login="Raif8522" class="lia-mention lia-mention-user"&gt;Raif8522&lt;/a&gt;&amp;nbsp;Hi!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you want to search for a word from the Reference column of Table B in the Comments column of Table A then taking the respective Date Open and Closed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023032#M102934</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-01-16T11:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023053#M102938</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434043" data-lia-user-login="Raif8522" class="lia-mention lia-mention-user"&gt;Raif8522&lt;/a&gt;&amp;nbsp;I have done that in Power Query,&amp;nbsp;look at the attached pbix.&lt;/P&gt;
&lt;P&gt;If that's correct, accept my answer as a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:32:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023053#M102938</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-01-16T11:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023094#M102942</link>
      <description>&lt;P&gt;Yes, that's correct. column "Comments" on Table B is a text field where **** represents texts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am going to check your solution below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thansk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:48:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023094#M102942</guid>
      <dc:creator>Raif8522</dc:creator>
      <dc:date>2023-01-16T11:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023110#M102945</link>
      <description>&lt;P&gt;Sorry my bad, forgot to mention that *** are texts, basically it's comments from customers. But reference on the "comments" column Table A &amp;amp; text on the "Reference" column Table B are unique.&lt;/P&gt;&lt;P&gt;I used SEARCH function to find the Reference in Comments column on Table A and retrieve Date Open &amp;amp; Date Closed values into Table B, but wasn't successful. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:54:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023110#M102945</guid>
      <dc:creator>Raif8522</dc:creator>
      <dc:date>2023-01-16T11:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023120#M102946</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434043" data-lia-user-login="Raif8522" class="lia-mention lia-mention-user"&gt;Raif8522&lt;/a&gt;&amp;nbsp;ok, calculate a new column in Table B as follow:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Date Open Tab A = &lt;/SPAN&gt;&lt;SPAN&gt;MINX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'Table A'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;SEARCH&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'Table B'[Reference]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Table A'[Comments]&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;0&lt;/SPAN&gt;&lt;SPAN&gt; ) &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;'Table A'[Date Open]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Do the same for the other one. Does it work?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;BBF&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jan 2023 13:48:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023120#M102946</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-01-16T13:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Keyword from another Table and retrieve values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023477#M102978</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added to the table and it is "Working onit" for last 2 hrs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think my Data set is way to large for the formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have over 2mil records on Table A &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, many thanks again for your respond&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:25:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Search-Keyword-from-another-Table-and-retrieve-values/m-p/3023477#M102978</guid>
      <dc:creator>Raif8522</dc:creator>
      <dc:date>2023-01-16T14:25:11Z</dc:date>
    </item>
  </channel>
</rss>

