<?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: Exam Item Analysis in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4240277#M167856</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I already get the unique ranking every row.&lt;BR /&gt;I want to SUM now the Item No.1 based on the Ranking. but the problem is the ranking is equal to 27% of the total count rows per subject. Meaning, the count or ranking will be dynamic.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 01:05:04 GMT</pubDate>
    <dc:creator>rquizon09</dc:creator>
    <dc:date>2024-10-14T01:05:04Z</dc:date>
    <item>
      <title>Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238441#M167668</link>
      <description>&lt;P&gt;Hi, Newbie here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I sum the &lt;STRONG&gt;Item No.1&lt;/STRONG&gt; based on the &lt;STRONG&gt;Score Column.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But before to get the SUM of Item No. 1, I need to Sort Descending order the &lt;STRONG&gt;Score Column&lt;/STRONG&gt;&amp;nbsp;because I need only those top N and bottom N of score to SUM the value of Item No.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have example here&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;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 08:07:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238441#M167668</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-11T08:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238491#M167672</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="818032" data-lia-user-login="rquizon09" class="lia-mention lia-mention-user"&gt;rquizon09&lt;/a&gt;&amp;nbsp;, Try using below steps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, sort your data by the Score column in descending order.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Create a calculated column to rank the scores. You can use the RANKX function for this.&lt;BR /&gt;Rank = RANKX(ALL('YourTable'), 'YourTable'[Score], , DESC, DENSE)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Filter Top N and Bottom N:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TopN_Sum = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('YourTable'[Item No.1]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;'YourTable'[Rank] &amp;lt;= N // Replace N with the number of top scores you want&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Combine the Measures:&lt;BR /&gt;Create a final measure to sum the values from the top N and bottom N.&lt;BR /&gt;Total_Sum = [TopN_Sum] + [BottomN_Sum]&lt;BR /&gt;Add a card or any other visual to display the Total_Sum measure.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 08:41:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238491#M167672</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-10-11T08:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238559#M167679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;BR /&gt;I have question on calculated column, I want to rank them based on the subject.&lt;BR /&gt;&lt;BR /&gt;For example.&lt;BR /&gt;&lt;BR /&gt;Subject 1 Rank 1&lt;/P&gt;&lt;P&gt;Subject 1 Rank 2&lt;/P&gt;&lt;P&gt;Subject 1 Rank 3&lt;BR /&gt;Subject 2 Rank 1&lt;/P&gt;&lt;P&gt;Subject 2 Rank 2&lt;BR /&gt;Subject 3 Rank 1&lt;BR /&gt;&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 09:09:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238559#M167679</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-11T09:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238568#M167681</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="818032" data-lia-user-login="rquizon09" class="lia-mention lia-mention-user"&gt;rquizon09&lt;/a&gt;&amp;nbsp;,&amp;nbsp;You can use the RANKX function along with the EARLIER function to achieve this.&lt;/P&gt;
&lt;P&gt;Rank = &lt;BR /&gt;RANKX(&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;'YourTable'[Subject] = EARLIER('YourTable'[Subject])&lt;BR /&gt;),&lt;BR /&gt;'YourTable'[Score],&lt;BR /&gt;,&lt;BR /&gt;DESC,&lt;BR /&gt;DENSE&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create measures to calculate the sum of the top N and bottom N scores.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TopN_Sum = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('YourTable'[Item No.1]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;'YourTable'[Rank] &amp;lt;= N // Replace N with the number of top scores you want&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BottomN_Sum = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('YourTable'[Item No.1]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'YourTable',&lt;BR /&gt;'YourTable'[Rank] &amp;gt; (MAXX(ALL('YourTable'), 'YourTable'[Rank]) - N) // Replace N with the number of bottom scores you want&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 09:13:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238568#M167681</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-10-11T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238610#M167684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding on the calculated column, the formula is not functioning or Am I not execute it properly?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 09:33:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4238610#M167684</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-11T09:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4239129#M167711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I want to get the unique rank per subject even though the student scores are duplicated&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 15:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4239129#M167711</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-11T15:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4240277#M167856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I already get the unique ranking every row.&lt;BR /&gt;I want to SUM now the Item No.1 based on the Ranking. but the problem is the ranking is equal to 27% of the total count rows per subject. Meaning, the count or ranking will be dynamic.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 01:05:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4240277#M167856</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-14T01:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4242472#M167962</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="818032" data-lia-user-login="rquizon09" class="lia-mention lia-mention-user"&gt;rquizon09&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;bhanu_gautam&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rquizon09&amp;nbsp;, if your problem is still not solved, could you please explain in more detail what you mean by "but the problem is the ranking is equal to 27% of the total count rows per subject."? What does total count refer to? This way we can better help you.&amp;nbsp;Thank you for your time and efforts in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 05:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4242472#M167962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-15T05:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exam Item Analysis</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4242630#M167967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The Unique Ranking is already solved.&lt;BR /&gt;I just want to clarify this formula&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;BottomN_Sum =&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CALCULATE(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SUM('YourTable'[Item No.1]),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FILTER(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'YourTable',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'YourTable'[Rank] &amp;gt; (MAXX(ALL('YourTable'), 'YourTable'[Rank]) - N) // Replace N with the number of bottom scores you want&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Because this formula does not functioning.&lt;BR /&gt;&lt;BR /&gt;I already have Unique Ranking of Row but I want is to Sum the TopN and BottomN based on Ranking Column.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 06:57:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exam-Item-Analysis/m-p/4242630#M167967</guid>
      <dc:creator>rquizon09</dc:creator>
      <dc:date>2024-10-15T06:57:15Z</dc:date>
    </item>
  </channel>
</rss>

