<?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: I think I need a count rows or group by but it doesn't work in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076598#M15110</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;Thank you so much for your quick response.&amp;nbsp; The Room number/Match in the middle of my picture was just an illustration to show the data easily.&amp;nbsp; My actual table that I am trying to write my dax off of is on the left.&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 16:08:12 GMT</pubDate>
    <dc:creator>Reetz</dc:creator>
    <dc:date>2020-05-06T16:08:12Z</dc:date>
    <item>
      <title>I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076438#M15104</link>
      <description>&lt;P&gt;&lt;img /&gt;I have a survey table that I am trying to find the unique # of rooms where the Meet Criteria equals YES.&amp;nbsp; I don't have access to the table so can't transform it.&amp;nbsp; I think I need to either group by or count rows, but can't figure out how.&amp;nbsp; Can someone help please?&amp;nbsp; Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 15:27:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076438#M15104</guid>
      <dc:creator>Reetz</dc:creator>
      <dc:date>2020-05-06T15:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076476#M15107</link>
      <description>COUNTROWS(&lt;BR /&gt;  SUMMARIZE(&lt;BR /&gt;    FILTER('Table',[Meet Criteria] = "Yes"),&lt;BR /&gt;    [Room]&lt;BR /&gt;  )&lt;BR /&gt;)</description>
      <pubDate>Wed, 06 May 2020 15:37:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076476#M15107</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-06T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076598#M15110</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;Thank you so much for your quick response.&amp;nbsp; The Room number/Match in the middle of my picture was just an illustration to show the data easily.&amp;nbsp; My actual table that I am trying to write my dax off of is on the left.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 16:08:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076598#M15110</guid>
      <dc:creator>Reetz</dc:creator>
      <dc:date>2020-05-06T16:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076626#M15112</link>
      <description>&lt;P&gt;Oh, you need to first add a column using EARLIER. See my article on Mean Time Between Failure (MTBF) which uses EARLIER: &lt;A href="http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586" target="_blank"&gt;http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I probably create an entirely new table maybe, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
  ADDCOLUMNS(
    FILTER('Table',[Question] = "Room #")
    "Meets Criteria",MAXX(FILTER('Table',[Survey]=EARLIER([Survey] &amp;amp;&amp;amp; [Survey Response] = EARLIER([Survey Response]),[Response])
  )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 May 2020 16:28:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076626#M15112</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-06T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076962#M15116</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; &amp;nbsp;Thank you for this explaination!!&amp;nbsp; I am newer to power bi and am not familiar with some of these functions.&amp;nbsp; I did read your article, and tried the DAX you provided but am getting the attached error.&amp;nbsp; Have tried looking up what the error may be but am still getting this error.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 18:45:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1076962#M15116</guid>
      <dc:creator>Reetz</dc:creator>
      <dc:date>2020-05-06T18:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1077285#M15126</link>
      <description>&lt;P&gt;Sorry, I totally screwed up the parens on that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = 
  ADDCOLUMNS(
    FILTER('Table',[Question] = "Room #")
    "Meets Criteria",
      MAXX(
        FILTER(
          'Table',
          [Survey]=EARLIER([Survey]) &amp;amp;&amp;amp; 
            [Survey Response] = EARLIER([Survey Response])
        ),
        [Response])
      )
  )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 May 2020 21:15:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1077285#M15126</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-06T21:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: I think I need a count rows or group by but it doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1079418#M15196</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; This worked!!!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 14:12:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-think-I-need-a-count-rows-or-group-by-but-it-doesn-t-work/m-p/1079418#M15196</guid>
      <dc:creator>Reetz</dc:creator>
      <dc:date>2020-05-07T14:12:52Z</dc:date>
    </item>
  </channel>
</rss>

