<?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: Calculating Continuation percentages in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3901593#M152037</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="652889" data-lia-user-login="ZakariAK" class="lia-mention lia-mention-user"&gt;ZakariAK&lt;/a&gt;&amp;nbsp;,You can create a measure for continuing students&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Total Students = COUNT('YourTable'[Student ID])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Continuing Students = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('YourTable'[Student ID]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL('YourTable'),&lt;BR /&gt;'YourTable'[Academic Year] = EARLIER('YourTable'[Academic Year]) + 1&lt;BR /&gt;&amp;amp;&amp;amp; 'YourTable'[Study] = EARLIER('YourTable'[Study])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;Create a new measure to calculate the percentage of students who continue their studies:&lt;BR /&gt;&lt;BR /&gt;Percentage Continuing = DIVIDE([Continuing Students], [Total Students]) * 100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This will display the academic year, study, total number of students, number of students continuing their studies in the next year, and the percentage of students continuing for each combination of academic year and study&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 09:10:35 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2024-05-08T09:10:35Z</dc:date>
    <item>
      <title>Calculating Continuation percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3901470#M152034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with student registries from different years, i already have the counts by the ID column, but I want to calculate the percentage of students from each studies in each academic years that continue their studies in the next year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 08:23:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3901470#M152034</guid>
      <dc:creator>ZakariAK</dc:creator>
      <dc:date>2024-05-08T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Continuation percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3901593#M152037</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="652889" data-lia-user-login="ZakariAK" class="lia-mention lia-mention-user"&gt;ZakariAK&lt;/a&gt;&amp;nbsp;,You can create a measure for continuing students&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Total Students = COUNT('YourTable'[Student ID])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Continuing Students = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('YourTable'[Student ID]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL('YourTable'),&lt;BR /&gt;'YourTable'[Academic Year] = EARLIER('YourTable'[Academic Year]) + 1&lt;BR /&gt;&amp;amp;&amp;amp; 'YourTable'[Study] = EARLIER('YourTable'[Study])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;Create a new measure to calculate the percentage of students who continue their studies:&lt;BR /&gt;&lt;BR /&gt;Percentage Continuing = DIVIDE([Continuing Students], [Total Students]) * 100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This will display the academic year, study, total number of students, number of students continuing their studies in the next year, and the percentage of students continuing for each combination of academic year and study&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 09:10:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3901593#M152037</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-05-08T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Continuation percentages</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3907318#M152209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="652889" data-lia-user-login="ZakariAK" class="lia-mention lia-mention-user"&gt;ZakariAK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create a table as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I create a calculated column named Percentage.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage = 
VAR _Total =
    COUNT ( Students[ID] )
VAR _Continue =
    CALCULATE (
        COUNT ( Students[ID] ),
        FILTER (
            ALL ( Students ),
            'Students'[Study Area] = EARLIER ( Students[Study Area] )
                &amp;amp;&amp;amp; 'Students'[Academic Year] = EARLIER ( Students[Academic Year] )
        )
    )
RETURN
    DIVIDE ( _Continue, _Total, 0 )&lt;/LI-CODE&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 style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 05:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Continuation-percentages/m-p/3907318#M152209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-10T05:41:05Z</dc:date>
    </item>
  </channel>
</rss>

