<?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 measure required to count the number of students passed in all subjects when they select the sli in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4740714#M181570</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1289011" target="_blank"&gt;@powerbi__2025&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user resolved your issue.&lt;BR /&gt;If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 12:07:12 GMT</pubDate>
    <dc:creator>v-achippa</dc:creator>
    <dc:date>2025-06-23T12:07:12Z</dc:date>
    <item>
      <title>DAX measure required to count the number of students passed in all subjects when they select the sli</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4730338#M181202</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I'm working on a Power BI report where the requirement is to calculate the total number of students who have passed all their subjects within a selected date range.&lt;/P&gt;&lt;P&gt;A student is considered as "Passed" only if they have passed all subjects—even if one subject is failed, the student should be treated as "Failed".&lt;/P&gt;&lt;P&gt;I have a working DAX measure that gives the correct result when only today's date is selected. However, when a date range is selected using the slicer (e.g., yesterday + today), it does not return the correct count. It seems to only consider part of the range or just one date.&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&lt;BR /&gt;Total_Students_Passed :=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Sheet1'[Student]),&lt;BR /&gt;FILTER(&lt;BR /&gt;VALUES('Sheet1'[Student]),&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(&lt;BR /&gt;FILTER(&lt;BR /&gt;'Sheet1',&lt;BR /&gt;'Sheet1'[Exam_Result] = "Fail"&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;) = 0&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 13:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4730338#M181202</guid>
      <dc:creator>powerbi__2025</dc:creator>
      <dc:date>2025-06-12T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure required to count the number of students passed in all subjects when they select the sli</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4730410#M181203</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Students Passed =
VAR StudentsNumFails =
    ADDCOLUMNS (
        VALUES ( Sheet1[Student] ),
        "@num fails", COALESCE ( CALCULATE ( COUNTROWS ( Sheet1 ), Sheet1[Exam_Result] = "Fail" ), 0 )
    )
VAR Result =
    COUNTROWS ( FILTER ( StudentsNumFails, [@num fails] = 0 ) )
RETURN
    Result
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Jun 2025 14:16:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4730410#M181203</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-06-12T14:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure required to count the number of students passed in all subjects when they select the sli</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4733613#M181325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1289011" data-lia-user-login="powerbi__2025" class="lia-mention lia-mention-user"&gt;powerbi__2025&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;for the prompt response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user resolved your issue?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 13:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4733613#M181325</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-06-16T13:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure required to count the number of students passed in all subjects when they select the sli</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4737579#M181455</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1289011" target="_blank"&gt;@powerbi__2025&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We wanted to kindly follow up to&amp;nbsp;check &lt;SPAN&gt;if the issue is resolved?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 11:57:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4737579#M181455</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-06-19T11:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure required to count the number of students passed in all subjects when they select the sli</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4740714#M181570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1289011" target="_blank"&gt;@powerbi__2025&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user resolved your issue.&lt;BR /&gt;If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 12:07:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-required-to-count-the-number-of-students-passed-in/m-p/4740714#M181570</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-06-23T12:07:12Z</dc:date>
    </item>
  </channel>
</rss>

