<?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 Measure that is Based off of Other Measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390856#M25493</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="231798" data-lia-user-login="Blake753" class="lia-mention lia-mention-user"&gt;Blake753&lt;/a&gt;&amp;nbsp;I can be more specific but I would need to see sample data and expected output.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 16:39:49 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-09-23T16:39:49Z</dc:date>
    <item>
      <title>Count Measure that is Based off of Other Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390464#M25478</link>
      <description>&lt;P&gt;I am caculating productivity % and I am trying to build a measure to count them based on certain bins (i.e. how many people have a productivity 80-89%, 90-99% and so on).&amp;nbsp; My Productivity measure is :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;[Target Hours Sum]/([Worked Hours Sum]-[Other Productive Hours Sum]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Other Measures that make up that Measure (all names are column names, no measures within measures here):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Target Hours Sum:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMX(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMMARIZE(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Emp_Name],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Pay_Period_End],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[TARGETHOURSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[TARGETHOURSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Worked Hours Sum:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMX(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMMARIZE(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Emp_Name],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Pay_Period_End],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[WORKEDHOURSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[WORKEDHOURSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Other Productive Hours Sum:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMX(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;SUMMARIZE(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Emp_Name],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[Pay_Period_End],&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[OTHERPRODUCTIVEHRSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;Query1[OTHERPRODUCTIVEHRSPAYPERIOD]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;What is the best way to go about counting these?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:24:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390464#M25478</guid>
      <dc:creator>Blake753</dc:creator>
      <dc:date>2020-09-23T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count Measure that is Based off of Other Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390475#M25479</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="231798" data-lia-user-login="Blake753" class="lia-mention lia-mention-user"&gt;Blake753&lt;/a&gt;&amp;nbsp;This looks like a measure aggregation problem. See my blog article about that here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The pattern is: &lt;BR /&gt;MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])&lt;BR /&gt;etc.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:28:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390475#M25479</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-23T14:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count Measure that is Based off of Other Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390523#M25482</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;Can you relate that to my specific issue in any way?&amp;nbsp; I'm not quite following what you are saying.&amp;nbsp; Ideally I'm just looking for a "if productivity value is &amp;gt;=0.8 and &amp;lt;0.9 then count how many entries there are", but I'm not sure at all how to do that.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390523#M25482</guid>
      <dc:creator>Blake753</dc:creator>
      <dc:date>2020-09-23T14:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count Measure that is Based off of Other Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390856#M25493</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="231798" data-lia-user-login="Blake753" class="lia-mention lia-mention-user"&gt;Blake753&lt;/a&gt;&amp;nbsp;I can be more specific but I would need to see sample data and expected output.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 16:39:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Measure-that-is-Based-off-of-Other-Measures/m-p/1390856#M25493</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-23T16:39:49Z</dc:date>
    </item>
  </channel>
</rss>

