<?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: DAX expression with filtered text in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2956732#M98237</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; &amp;nbsp;If SUMMARIZECOLUMNS only returns distinct values, what function would return all values and work in my scenario?&amp;nbsp; Basically the equivalent of removing DISTINCT from a TSQL query.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 12:50:43 GMT</pubDate>
    <dc:creator>texasmcse</dc:creator>
    <dc:date>2022-12-08T12:50:43Z</dc:date>
    <item>
      <title>DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2954736#M98127</link>
      <description>&lt;P&gt;My goal is to create a card visual that shows the number of rows in a database that have a specific word in a field.&amp;nbsp; Example below from an MECM database looking for value '11'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works, I just can't figure out how to store that number (the number of rows with the value of '11') into a measure and include it in a card visual.&amp;nbsp; Any help appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'From MECM DB'[Operating System]&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;KEEPFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;'From MECM DB'[Operating System]&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;"11"&lt;/SPAN&gt;, &lt;SPAN&gt;'From MECM DB'[Operating System]&lt;/SPAN&gt;, &lt;SPAN&gt;1&lt;/SPAN&gt;, &lt;SPAN&gt;0&lt;/SPAN&gt; &lt;SPAN&gt;)&lt;/SPAN&gt; &amp;gt;= &lt;SPAN&gt;1&lt;/SPAN&gt; &lt;SPAN&gt;))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 18:14:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2954736#M98127</guid>
      <dc:creator>texasmcse</dc:creator>
      <dc:date>2022-12-07T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2954876#M98141</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="483395" data-lia-user-login="texasmcse" class="lia-mention lia-mention-user"&gt;texasmcse&lt;/a&gt;&amp;nbsp;Maybe:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  COUNTROWS(
SUMMARIZECOLUMNS(
    'From MECM DB'[Operating System],
    KEEPFILTERS( FILTER( ALL( 'From MECM DB'[Operating System] ), SEARCH( "11", 'From MECM DB'[Operating System], 1, 0 ) &amp;gt;= 1 ))
)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Dec 2022 19:32:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2954876#M98141</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-12-07T19:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2955012#M98152</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; thanks!it's a step closer but I think it's doing a distinct count.&amp;nbsp; Changed the query to use OS and should find several devices with 'Enterprise' in the field and it shows 3, which matches the 3 different OS values (win11, win10, win11N).&amp;nbsp; There is an easier way to do this (slicer) but I'm going to apply what I learn here to a more complex scenario where I'm finding specific error messages in description fields.&amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 20:57:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2955012#M98152</guid>
      <dc:creator>texasmcse</dc:creator>
      <dc:date>2022-12-07T20:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2956732#M98237</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; &amp;nbsp;If SUMMARIZECOLUMNS only returns distinct values, what function would return all values and work in my scenario?&amp;nbsp; Basically the equivalent of removing DISTINCT from a TSQL query.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 12:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2956732#M98237</guid>
      <dc:creator>texasmcse</dc:creator>
      <dc:date>2022-12-08T12:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2959554#M98478</link>
      <description>&lt;P&gt;Can anyone help me figure out how to make the query not do a distinct count?&amp;nbsp; I need the query to return all the rows that match the search so I can use it as a measure for a card visual.&amp;nbsp; I've spent alot of time and just don't have the DAX skills yet to figure it out.&amp;nbsp; thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;MECM[OS]&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;KEEPFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt; &lt;SPAN&gt;MECM[OS]&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;"11"&lt;/SPAN&gt;, &lt;SPAN&gt;MECM[OS]&lt;/SPAN&gt;, &lt;SPAN&gt;1&lt;/SPAN&gt;, &lt;SPAN&gt;0&lt;/SPAN&gt; &lt;SPAN&gt;)&lt;/SPAN&gt; &amp;gt;= &lt;SPAN&gt;1&lt;/SPAN&gt; &lt;SPAN&gt;))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 16:33:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2959554#M98478</guid>
      <dc:creator>texasmcse</dc:creator>
      <dc:date>2022-12-09T16:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression with filtered text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2965287#M98930</link>
      <description>&lt;P&gt;still trying to figure this out.&amp;nbsp; does anyone have any guidance?&amp;nbsp; thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 12:40:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-with-filtered-text/m-p/2965287#M98930</guid>
      <dc:creator>texasmcse</dc:creator>
      <dc:date>2022-12-13T12:40:28Z</dc:date>
    </item>
  </channel>
</rss>

