<?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: How to SUM a series of RANKS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2914813#M95393</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try formula like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Rank =
VAR _tab =
    SUMMARIZE ( ALLSELECTED ( 'Table' ), 'Table'[Product], "_total", [total] )
VAR _rank =
    RANKX ( _tab, [total],, ASC, DENSE )
RETURN
    IF ( HASONEVALUE ( 'Table'[Date] ), SUM ( 'Table'[Value] ), _rank )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 09:43:08 GMT</pubDate>
    <dc:creator>v-easonf-msft</dc:creator>
    <dc:date>2022-11-18T09:43:08Z</dc:date>
    <item>
      <title>How to SUM a series of RANKS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2908236#M94958</link>
      <description>&lt;P&gt;My dataset consists of a list of facilities and several metrics. I rank the metrics individually amongst the facilities and then sum the ranks for a "composite score".....ie.....facility A may get a 10, facility B a 15, etc. Finally, I rank the composite score and this is ultimately how we identify a top opportunity facility (easier for mgmt to understand '1st' or '2nd' than a random number for a composite score).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now attempting a trend with an "overall top opportunity" (below). I simply included the "composite rank" in a matrix by facility and date. I expected it to 'subtotal' based on the series of ranks, but instead, it appears that it is somehow re-ranking all of the individual KPIs rolled up based on the date range selected. As you can see, I would expect the 5th row to be #2 overall. Is there a way to simply SUM or AVG the ranks? I cannot seem to figure out the syntax. Thanks in advance&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;</description>
      <pubDate>Wed, 16 Nov 2022 04:27:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2908236#M94958</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-11-16T04:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM a series of RANKS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2908612#M94979</link>
      <description>&lt;P&gt;Sample data please.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 07:54:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2908612#M94979</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-11-16T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM a series of RANKS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2914813#M95393</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398353" data-lia-user-login="drew61199" class="lia-mention lia-mention-user"&gt;drew61199&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try formula like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Rank =
VAR _tab =
    SUMMARIZE ( ALLSELECTED ( 'Table' ), 'Table'[Product], "_total", [total] )
VAR _rank =
    RANKX ( _tab, [total],, ASC, DENSE )
RETURN
    IF ( HASONEVALUE ( 'Table'[Date] ), SUM ( 'Table'[Value] ), _rank )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 09:43:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-SUM-a-series-of-RANKS/m-p/2914813#M95393</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-11-18T09:43:08Z</dc:date>
    </item>
  </channel>
</rss>

