<?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: RankX formula with tie's in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-formula-with-tie-s/m-p/3159757#M113432</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="429475" data-lia-user-login="Nick221_" class="lia-mention lia-mention-user"&gt;Nick221_&lt;/a&gt; , You can choose tie breaker&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rank Tie breaker &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Breaking-Ties-in-Rankings-with-RANKX-Using-Multiple-Columns/ba-p/918655" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Breaking-Ties-in-Rankings-with-RANKX-Using-Multiple-Columns/ba-p/918655&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/" target="_blank"&gt;https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have small data to rank, you can consider Window&lt;/P&gt;
&lt;P&gt;Learn Power BI: Window as Rank- why and Why not: &lt;A href="https://youtu.be/Pu8y8bd5mb8" target="_blank"&gt;https://youtu.be/Pu8y8bd5mb8&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 02:54:08 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-03-29T02:54:08Z</dc:date>
    <item>
      <title>RankX formula with tie's</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-formula-with-tie-s/m-p/3159146#M113399</link>
      <description>&lt;P&gt;I have the below formula that will rank my 'Risks" by the sum of Immediate high and Long term high. In some situations there are risks that have the same total number. In instances where there are ties, I would like the rank to order the risk that has more Immediate high responses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Risk 1 Total number 54. Immediate high 24. Long Term High 30&lt;/P&gt;&lt;P&gt;Risk 2 Total number 52 Immediate high 43. Long Term High 9&lt;/P&gt;&lt;P&gt;Risk 3 Total number 52. Immediate high 48. Long Term High 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Risk 1 should be 1 since it has higher total. Risk 3 should be come in at rank 2, because there is a higher number of Immediate High. Then Risk 2 at 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my current formula:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Risk Order = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Survey 2022'&lt;/SPAN&gt;&lt;SPAN&gt;[Risks]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Survey 2022'&lt;/SPAN&gt;&lt;SPAN&gt;[Immediate High]&lt;/SPAN&gt;&lt;SPAN&gt;) + &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Survey 2022'&lt;/SPAN&gt;&lt;SPAN&gt;[Long Term High]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Mar 2023 18:26:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-formula-with-tie-s/m-p/3159146#M113399</guid>
      <dc:creator>Nick221_</dc:creator>
      <dc:date>2023-03-28T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: RankX formula with tie's</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-formula-with-tie-s/m-p/3159757#M113432</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="429475" data-lia-user-login="Nick221_" class="lia-mention lia-mention-user"&gt;Nick221_&lt;/a&gt; , You can choose tie breaker&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rank Tie breaker &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Breaking-Ties-in-Rankings-with-RANKX-Using-Multiple-Columns/ba-p/918655" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Breaking-Ties-in-Rankings-with-RANKX-Using-Multiple-Columns/ba-p/918655&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/" target="_blank"&gt;https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have small data to rank, you can consider Window&lt;/P&gt;
&lt;P&gt;Learn Power BI: Window as Rank- why and Why not: &lt;A href="https://youtu.be/Pu8y8bd5mb8" target="_blank"&gt;https://youtu.be/Pu8y8bd5mb8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 02:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-formula-with-tie-s/m-p/3159757#M113432</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-03-29T02:54:08Z</dc:date>
    </item>
  </channel>
</rss>

