<?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: Converting ranking into percentage of maximum in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1932009#M41966</link>
    <description>&lt;P&gt;countrows(allselected(table[station precinct])&lt;/P&gt;
&lt;P&gt;??&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 02:40:15 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2021-07-01T02:40:15Z</dc:date>
    <item>
      <title>Converting ranking into percentage of maximum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1931890#M41964</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am super novice and trying to convert a ranking of train stations - in this example 1 to 84 (based on their level of tree coverage) - to percentage. I.e. The highest-ranking station is 84 so his percentage ranking will be 100%. 84/84.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just don't know how to right the DAX formula to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how far I have come:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;RANKING SCORE&lt;/STRONG&gt; = DIVIDE('URBAN ECOLOGY Measure - Urban_tree_canopy_coverage'[RANKING],&lt;FONT color="#FF0000"&gt;84&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I would like to know what the correct DAX is to refer to the MAx Ranking measure, instead of just plugging the number in, 84.&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this conversion in Excel and added the column to check if the formula works ("SCORE - Urban tree canopy coverage").&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>Thu, 01 Jul 2021 01:12:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1931890#M41964</guid>
      <dc:creator>Swartkat75</dc:creator>
      <dc:date>2021-07-01T01:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Converting ranking into percentage of maximum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1932009#M41966</link>
      <description>&lt;P&gt;countrows(allselected(table[station precinct])&lt;/P&gt;
&lt;P&gt;??&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 02:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1932009#M41966</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-07-01T02:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Converting ranking into percentage of maximum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1932084#M41969</link>
      <description>&lt;P&gt;I have progressed slightly with this formula:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RANKING SCORE = DIVIDE('Table'[RANKING],&lt;FONT color="#FF0000"&gt;max('Table'[RANKING]&lt;/FONT&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Using the MAX function rather than reference the measure (&lt;FONT color="#008000"&gt;MAx Ranking&lt;/FONT&gt; = max(Table[Ranking)].&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jul 2021 03:13:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-ranking-into-percentage-of-maximum/m-p/1932084#M41969</guid>
      <dc:creator>Swartkat75</dc:creator>
      <dc:date>2021-07-01T03:13:23Z</dc:date>
    </item>
  </channel>
</rss>

