<?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: count rows when a measure is &amp;gt;=0.85 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2080738#M47207</link>
    <description>&lt;P&gt;perfect. 1000x thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 15:39:46 GMT</pubDate>
    <dc:creator>guanel1</dc:creator>
    <dc:date>2021-09-16T15:39:46Z</dc:date>
    <item>
      <title>count rows when a measure is &gt;=0.85</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2078690#M47136</link>
      <description>&lt;P&gt;I have a list of Business Units (BU) with Teams. Each team has deliverables due. I have calculated the % of deliverables completed on time for each BU. I created the following measures:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# of OU = DISTINCTCOUNT(Table1[BU])&lt;/STRONG&gt; --&amp;gt; needs to be distinct because there are multiple instances of the BU name as there are multiple Deliverables for each team within the BU.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# of Deliverables = COUNTA(Table1[Deliverable ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# of Completed On Time = CALCULATE(COUNTA(Table1[STATUS]),Table1[STATUS]="COMPLETED ON TIME")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;% Completed on Time = DIVIDE([# of Completed On Time],[# of Deliverables])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My resulting visual (table) looks like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Business Unit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;# of Teams&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;# of Deliverables&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;# of Completed on Time&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;% of Completed on Time&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;67%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;89%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a measure that will count the BU's only when the total % of Completed on time is &amp;gt;=0.80 (or 80%)&lt;/P&gt;&lt;P&gt;And in doing so, I want the answer to be 3. (3 BU's met the above criteria)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create the following measure with nesting measures:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# of BU Met Completion = CALCULATE(&lt;FONT color="#FF00FF"&gt;[# of OU]&lt;/FONT&gt;,&lt;FONT color="#FF00FF"&gt;[% of Completed on Time]&lt;/FONT&gt;&amp;gt;=0.80)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But i get an error.&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;A function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filter expression. This is not allowed.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I was assuming that it would show 4-1(one BU with less than 80%) = 3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Does anyone know how I can get a measure to count the # of BUs when the total % of completed on Time is &amp;gt;=80%?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 22:53:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2078690#M47136</guid>
      <dc:creator>guanel1</dc:creator>
      <dc:date>2021-09-15T22:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: count rows when a measure is &gt;=0.85</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2078809#M47137</link>
      <description>&lt;P&gt;&lt;STRONG&gt;# of BU Met Completion =CALCULATE(&lt;FONT color="#FF00FF"&gt;[# of OU]&lt;/FONT&gt;,FILTER(VALUES(Table1[Business Unit]),&lt;FONT color="#FF00FF"&gt;[% of Completed on Time]&lt;/FONT&gt;&amp;gt;=0.80)))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 01:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2078809#M47137</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-09-16T01:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: count rows when a measure is &gt;=0.85</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2080738#M47207</link>
      <description>&lt;P&gt;perfect. 1000x thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 15:39:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-rows-when-a-measure-is-gt-0-85/m-p/2080738#M47207</guid>
      <dc:creator>guanel1</dc:creator>
      <dc:date>2021-09-16T15:39:46Z</dc:date>
    </item>
  </channel>
</rss>

