<?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: Keyword Search in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/3143032#M112293</link>
    <description>&lt;P&gt;How are these used?&amp;nbsp; WordFilterTest added as filter greater than 0? What about the other?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 17:29:44 GMT</pubDate>
    <dc:creator>ssbagley</dc:creator>
    <dc:date>2023-03-20T17:29:44Z</dc:date>
    <item>
      <title>Keyword Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499414#M28953</link>
      <description>&lt;P&gt;I have a table that contains a text column and a second table that contains a list of keywords.&amp;nbsp; I'm trying to set up a slicer that allows me to filter the text column by the keywords.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created two measure and added a visual filter to accomplish this.&amp;nbsp; The two measures I have are:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SelectedKeyword = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTEDVALUE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Keywords[Keywords]&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;DIV&gt;&lt;SPAN&gt;WordFilterTest = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX(Keywords,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FIND(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UPPER([SelectedKeyword ]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UPPER(MAX(Note[Note])),, 0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;) &amp;gt; 0,&lt;/SPAN&gt;&lt;SPAN&gt; 1,&lt;/SPAN&gt;&lt;SPAN&gt; 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;This seems to work until I try to add the actual text column ([Note]) to the table visual.&amp;nbsp; On adding the column, I end up with a time out due to memory constraints.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does anyone know an alternate way to get the keyword search working?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:28:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499414#M28953</guid>
      <dc:creator>RobX</dc:creator>
      <dc:date>2020-11-17T14:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Keyword Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499432#M28956</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261173" data-lia-user-login="RobX" class="lia-mention lia-mention-user"&gt;RobX&lt;/a&gt; , the Second one can not be a column. You can create two measures like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SelectedKeyword =&lt;BR /&gt;SELECTEDVALUE(&lt;BR /&gt;Keywords[Keywords]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;WordFilterTest =&lt;/P&gt;
&lt;P&gt;SUMX(Note,&lt;BR /&gt;if(Search([SelectedKeyword ],Note[Note],, 0) &amp;gt; 0, 1, 0)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:34:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499432#M28956</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-17T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Keyword Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499465#M28959</link>
      <description>&lt;P&gt;That fixed it!&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:44:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/1499465#M28959</guid>
      <dc:creator>RobX</dc:creator>
      <dc:date>2020-11-17T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Keyword Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/3143032#M112293</link>
      <description>&lt;P&gt;How are these used?&amp;nbsp; WordFilterTest added as filter greater than 0? What about the other?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 17:29:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Keyword-Search/m-p/3143032#M112293</guid>
      <dc:creator>ssbagley</dc:creator>
      <dc:date>2023-03-20T17:29:44Z</dc:date>
    </item>
  </channel>
</rss>

