<?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 Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774860#M86573</link>
    <description>&lt;P&gt;Hello, does anyone know how I can calculate the above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure that evaluates an expression &lt;EM&gt;(checks if job date was completed before due date)&lt;/EM&gt; and outputs &lt;STRONG&gt;"Pass" or "Fail"&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I also have Priority Groups each with different target rates, and these are basicaly the KPI's (i.e. 'P1 &amp;amp; P2' with 100% target, 'P3 &amp;amp; P4' with 95% target 'S' with 98% pass target, etc)&lt;/P&gt;&lt;P&gt;I want to know, &lt;STRONG&gt;by Month&lt;/STRONG&gt;, and &lt;STRONG&gt;for each Priority Group,&lt;/STRONG&gt;&amp;nbsp;the count of "Pass" and "Fail"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;The main issue&lt;/U&gt; is getting the count of Pass/Fail based on the &lt;STRONG&gt;Priority Group &lt;/STRONG&gt;and &lt;STRONG&gt;not &lt;/STRONG&gt;for every single job.&amp;nbsp;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;Here is my measure that counts the Pass/Fail for each Priority Group:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I basically just want to count the highlighted below:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Sep 2022 04:14:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-18T04:14:31Z</dc:date>
    <item>
      <title>Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774860#M86573</link>
      <description>&lt;P&gt;Hello, does anyone know how I can calculate the above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure that evaluates an expression &lt;EM&gt;(checks if job date was completed before due date)&lt;/EM&gt; and outputs &lt;STRONG&gt;"Pass" or "Fail"&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I also have Priority Groups each with different target rates, and these are basicaly the KPI's (i.e. 'P1 &amp;amp; P2' with 100% target, 'P3 &amp;amp; P4' with 95% target 'S' with 98% pass target, etc)&lt;/P&gt;&lt;P&gt;I want to know, &lt;STRONG&gt;by Month&lt;/STRONG&gt;, and &lt;STRONG&gt;for each Priority Group,&lt;/STRONG&gt;&amp;nbsp;the count of "Pass" and "Fail"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;The main issue&lt;/U&gt; is getting the count of Pass/Fail based on the &lt;STRONG&gt;Priority Group &lt;/STRONG&gt;and &lt;STRONG&gt;not &lt;/STRONG&gt;for every single job.&amp;nbsp;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;Here is my measure that counts the Pass/Fail for each Priority Group:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I basically just want to count the highlighted below:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 04:14:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774860#M86573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-18T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774871#M86574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would this one &lt;A href="https://www.tackytech.blog/how-to-crack-the-mystery-of-the-mighty-dax/#filter-on-the-result-of-aggregate-functions-sql-having-clause" target="_self"&gt;here&lt;/A&gt; help you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 08:42:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774871#M86574</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-09-17T08:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774887#M86576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="353745" data-lia-user-login="tackytechtom" class="lia-mention lia-mention-user"&gt;tackytechtom&lt;/a&gt;&amp;nbsp;thank you for responding!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure which one to apply to my situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g If I have 100 jobs in a month, each of these jobs has a priority code, and the priority code has a KPI (e.g. 95% pass rate for P3, 100% pass rate for P2, etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have calculated the above using a Measure (not a calculated column)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use SUMMARIZE but it doesn't allow me to return a text value from my measure...&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 09:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774887#M86576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-17T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774905#M86577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the pbix file or some data and its outcome? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 09:18:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774905#M86577</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-09-17T09:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774909#M86578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;Pass Count =&lt;BR /&gt;SUMX ( VALUES ( 'Table'[Job ID] ), IF ( [Measure] = "Pass", 1 ) )&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 09:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774909#M86578</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-17T09:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774923#M86580</link>
      <description>&lt;P&gt;Hopefully this may help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to get the result to give the percentage of the "pass" per month for each column category:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So for instance P1 &amp;amp; P2column,&lt;/P&gt;&lt;P&gt;Fail = 5, Pass = 1,&lt;/P&gt;&lt;P&gt;then divide Pass / Total to get the average pass for P2 &amp;amp; P2 for this year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 09:55:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774923#M86580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-17T09:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774927#M86582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is returning a blank...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I am not wanting to count the number of jobs, this is too low of a granuliarity. The jobs are roled up into KPI groups (e.g P1 &amp;amp; P2, P3 &amp;amp; P4, etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the job data in a table, the calendar data in another table, and a dimention table for my priority codes&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 10:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774927#M86582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-17T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774936#M86585</link>
      <description>&lt;P&gt;UPDATE: Managed to get this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But I need it to show blanks as well as true and false, any idea how I could do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also stuck here, the numbers aren't adding up to the actual pass results from my original table...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="353745" data-lia-user-login="tackytechtom" class="lia-mention lia-mention-user"&gt;tackytechtom&lt;/a&gt;&amp;nbsp;my file is very large and connected to a sql database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can provide the calc that I used for my "Pass" / "Fail" measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using SUMMARIZE but can't figure out to swap out the number values with the values from my measure above&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 10:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774936#M86585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-17T10:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774964#M86588</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then try by iterating over the KPI Goup column. You need to iterate over the granularity level column that produces results for [MeasureResp]&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 10:59:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2774964#M86588</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-17T10:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2775589#M86637</link>
      <description>&lt;P&gt;Still blank &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my Measure that produces the result&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 03:16:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2775589#M86637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-18T03:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count Pass/Fail per month by KPI Priority Group (i.e. not individual jobs)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2775596#M86639</link>
      <description>&lt;P&gt;Just tried something and looks like it's working!&amp;nbsp;&lt;EM&gt;(in case anyone else is struggling with something similar)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 03:59:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Pass-Fail-per-month-by-KPI-Priority-Group-i-e-not/m-p/2775596#M86639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-18T03:59:38Z</dc:date>
    </item>
  </channel>
</rss>

