<?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: create a measure to output a percentile rank within multiple columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323053#M124414</link>
    <description>&lt;P&gt;Thanks so much for looking into this one!&lt;/P&gt;&lt;P&gt;Basicaly the data you are looking at is simulated and you can rank qrent values that are not unique with same percentile. I would like the percentile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your help!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 11:26:33 GMT</pubDate>
    <dc:creator>ys4625</dc:creator>
    <dc:date>2023-07-10T11:26:33Z</dc:date>
    <item>
      <title>create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3316931#M124116</link>
      <description>&lt;P&gt;I am trying to create a measure that will give the percentile rank within multiple columns of rent data that i have. For each property agent and within each block and property type i would like to rank the rent recieved. I intend to use this ranking to create a conditonal formating so that the relatively low rents can be seen visually when looking at the data in a matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to do this with RANKX and EARLIER but it doesn't seem to work in measures - can anyone help? I have attached a sample of the data to this post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/x/s!AgouikQ3N5U5ghTO03180W5kRhOw?e=4lMCG6" target="_blank" rel="noopener"&gt;data.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 18:59:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3316931#M124116</guid>
      <dc:creator>ys4625</dc:creator>
      <dc:date>2023-07-05T18:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3322058#M124370</link>
      <description>&lt;P&gt;How should we interpret the duplicate values?&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;LI-CODE lang="markup"&gt; percentile rank&lt;/LI-CODE&gt;
&lt;P&gt;That's not really a thing, or? You want the rank, or the percentile?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 18:39:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3322058#M124370</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-07-09T18:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323053#M124414</link>
      <description>&lt;P&gt;Thanks so much for looking into this one!&lt;/P&gt;&lt;P&gt;Basicaly the data you are looking at is simulated and you can rank qrent values that are not unique with same percentile. I would like the percentile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 11:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323053#M124414</guid>
      <dc:creator>ys4625</dc:creator>
      <dc:date>2023-07-10T11:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323152#M124419</link>
      <description>&lt;P&gt;Still not clear to me.&amp;nbsp; Based on your provided sample data what would be the expected outcome?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 12:39:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323152#M124419</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-07-10T12:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323905#M124458</link>
      <description>&lt;P&gt;Hi thanks for your time,&lt;/P&gt;&lt;P&gt;basically would like a measure that within each agent, street and property type it outputs the percentile rank.&amp;nbsp; For example it would go to all the rows of agent a on street aaa with property type ii and output the percentile of the qrent for all the rows that fall in this catagory. it would do this for every agent etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote dax query for calculated column that does this which is as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PercentileRank = 
VAR _total =
    CALCULATE(DISTINCTCOUNT(property_rent[qrent]),
        FILTER (
        property_rent,
        property_rent[filename]
            = EARLIER(property_rent[filename])
        &amp;amp;&amp;amp; property_rent[block]
            = EARLIER (property_rent[block]) 
        &amp;amp;&amp;amp; property_rent[prop_type]
            = EARLIER(property_rent[prop_type])                               
        )
    )
RETURN
    ROUND(DIVIDE ( _total + 1 - property_rent[Ranked], _total + 1 )*100, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like this in measure form - thanks so much&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 20:23:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3323905#M124458</guid>
      <dc:creator>ys4625</dc:creator>
      <dc:date>2023-07-10T20:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: create a measure to output a percentile rank within multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3325074#M124503</link>
      <description>&lt;P&gt;Hi the expected outcome would be for all the rows of each agent, street and prop_type the measure should output what percentile each row value of qrent falls in relatively&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a calculated column that does this which is this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PercentileRank = 
VAR _total =
    CALCULATE(DISTINCTCOUNT(property_rent[qrent]),
        FILTER (
        property_rent,
        property_rent[filename]
            = EARLIER(property_rent[filename])
        &amp;amp;&amp;amp; property_rent[block]
            = EARLIER (property_rent[block]) 
        &amp;amp;&amp;amp; property_rent[prop_type]
            = EARLIER(property_rent[prop_type])                               
        )
    )
RETURN
    ROUND(DIVIDE ( _total + 1 - property_rent[Ranked], _total + 1 )*100, 1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need this to be dynamic so need it as a measure&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 11:14:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-a-measure-to-output-a-percentile-rank-within-multiple/m-p/3325074#M124503</guid>
      <dc:creator>ys4625</dc:creator>
      <dc:date>2023-07-11T11:14:16Z</dc:date>
    </item>
  </channel>
</rss>

