<?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 get highest top 5 percent of dataset based on a value column in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2296375#M831785</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;I have a few questions concerning this method.&lt;/P&gt;&lt;P&gt;1. It works with grabbing values and summing them (in my case by ID). What if I wanted instead of a SUM to provide the max value per ID? When I replace SUM with MAX in the snippet you provided, it no longer grabs N% of the dataset, but shows entire dataset in table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If I don't change the script you provided, but then add other columns to the table, it no longer shows top N%. Is there a way to make this dynamic with other fields in my data set?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 21:57:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-21T21:57:32Z</dc:date>
    <item>
      <title>How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2271918#M825057</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Value&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;88&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;58&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;78&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the example table above, how do I display only the top (highest) 5% of dataset based on the value column? Top N only allows for numbers. I'm looking for something that can grab highest 5% of data based on a column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 15:30:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2271918#M825057</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-07T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2271952#M825066</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343129" data-lia-user-login="felixthecatx" class="lia-mention lia-mention-user"&gt;felixthecatx&lt;/a&gt;&amp;nbsp; what is the desired output for this dataset?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 15:39:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2271952#M825066</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-07T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272067#M825100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample dataset is actually not a great example, sorry. But say we have a dataset with 120 values. I need the top 5% (In this case 6 records) highest values in a seperate table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 16:35:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272067#M825100</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-07T16:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272080#M825104</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343129" data-lia-user-login="felixthecatx" class="lia-mention lia-mention-user"&gt;felixthecatx&lt;/a&gt;&amp;nbsp; thanks for defining TOPN%.&lt;/P&gt;
&lt;P&gt;let's suppose on the given dataset you want TOP60% (as per your definition), you can do the following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _sum =
    SUM ( 'Table'[Value] )
VAR _top =
    CALCULATE (
        COUNTROWS ( ADDCOLUMNS ( VALUES ( 'Table'[ID] ), "_sum", _sum ) ),
        REMOVEFILTERS ( 'Table'[ID] )
    ) * 0.6
RETURN
    CALCULATE (
        CALCULATE ( SUM ( 'Table'[Value] ) ),
        KEEPFILTERS (
            TOPN (
                _top,
                ALLSELECTED ( 'Table'[ID] ),
                CALCULATE ( SUM ( 'Table'[Value] ) ), DESC
            )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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>Fri, 07 Jan 2022 16:45:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272080#M825104</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-07T16:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272181#M825130</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343129" data-lia-user-login="felixthecatx" class="lia-mention lia-mention-user"&gt;felixthecatx&lt;/a&gt;&amp;nbsp;it is pretty straight forward, I have used what-if allows to select the % but you can fix it in the measure if you like it&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;and here are the measure, you can always do it in one measure if you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Top Records = 
VAR __totalRows = CALCULATE ( COUNTROWS ( VALUES ( 'Top Based'[ID] ) ), ALL ( ) )
VAR __topRate = [Top % Value] //enter % value here I'm using what-if parameter
VAR __topRows = __totalRows * __topRate
RETuRN __topRows

Top X = CALCULATE ( [Sum Value], KEEPFILTERS ( TOPN ( [Top Records], ALL ( 'Top Based' ), [Sum Value], DESC ) ) )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;H2 style="margin: 0in; font-size: 14.0pt; color: #2e75b5;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; Follow us on &lt;/SPAN&gt;&lt;A href="https://www.linkedin.com/company/perytus/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;LinkedIn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; and&amp;nbsp;&lt;img /&gt;&amp;nbsp;to our &lt;/SPAN&gt;&lt;A href="https://www.youtube.com/channel/UCOYOaONaLGxtHQZxKosUegA" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;YouTube&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; channel &lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&lt;A href="https://www.youtube.com/watch?v=l2MRTFReCX0" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold;"&gt;Learn about conditional formatting at Microsoft Reactor&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 12.0pt;"&gt;My latest blog post &lt;/SPAN&gt;&lt;A href="https://perytus.com/2021/07/13/the-power-of-using-calculation-groups-with-inactive-relationships-part-1/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri; font-size: 11.0pt;"&gt;The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) &lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;I would &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;❤&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 9.0pt;"&gt;Kudos&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; if my solution helped. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Visit us at &lt;/SPAN&gt;&lt;A href="https://perytus.com" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;https://perytus.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;, your one-stop-shop for Power BI-related projects/training/consultancy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jan 2022 17:42:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272181#M825130</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2022-01-07T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272193#M825133</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507" data-lia-user-login="parry2k" class="lia-mention lia-mention-user"&gt;parry2k&lt;/a&gt;&amp;nbsp;When I add this as a measure, how do I use it to get the table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 17:51:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272193#M825133</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-07T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272206#M825137</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343129" data-lia-user-login="felixthecatx" class="lia-mention lia-mention-user"&gt;felixthecatx&lt;/a&gt;&amp;nbsp;let's you have table visual, add Id and Top X measure in the table and that will do it, top records is just to calculate how many top Ids we want to see. I hope it helps, if need more info, please let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;H2 style="margin: 0in; font-size: 14.0pt; color: #2e75b5;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; Follow us on &lt;/SPAN&gt;&lt;A href="https://www.linkedin.com/company/perytus/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;LinkedIn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; and&amp;nbsp;&lt;img /&gt;&amp;nbsp;to our &lt;/SPAN&gt;&lt;A href="https://www.youtube.com/channel/UCOYOaONaLGxtHQZxKosUegA" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;YouTube&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; channel &lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&lt;A href="https://www.youtube.com/watch?v=l2MRTFReCX0" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold;"&gt;Learn about conditional formatting at Microsoft Reactor&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 12.0pt;"&gt;My latest blog post &lt;/SPAN&gt;&lt;A href="https://perytus.com/2021/07/13/the-power-of-using-calculation-groups-with-inactive-relationships-part-1/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri; font-size: 11.0pt;"&gt;The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) &lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;I would &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;❤&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 9.0pt;"&gt;Kudos&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; if my solution helped. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Visit us at &lt;/SPAN&gt;&lt;A href="https://perytus.com" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;https://perytus.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;, your one-stop-shop for Power BI-related projects/training/consultancy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 18:01:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272206#M825137</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2022-01-07T18:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272252#M825149</link>
      <description>&lt;P&gt;Ah okay I see. What is 'Sum Value' referring to in Top X?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 18:30:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272252#M825149</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-07T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272322#M825173</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343129" data-lia-user-login="felixthecatx" class="lia-mention lia-mention-user"&gt;felixthecatx&lt;/a&gt;&amp;nbsp;I'm sorry I missed to add that measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum Value = SUM ( YourTable[Value Column] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.2416in;"&gt;
&lt;H2 style="margin: 0in; font-size: 14.0pt; color: #2e75b5;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; Follow us on &lt;/SPAN&gt;&lt;A href="https://www.linkedin.com/company/perytus/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;LinkedIn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; and&amp;nbsp;&lt;img /&gt;&amp;nbsp;to our &lt;/SPAN&gt;&lt;A href="https://www.youtube.com/channel/UCOYOaONaLGxtHQZxKosUegA" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri;"&gt;YouTube&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri;"&gt; channel &lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #e84c22;"&gt;&lt;A href="https://www.youtube.com/watch?v=l2MRTFReCX0" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold;"&gt;Learn about conditional formatting at Microsoft Reactor&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 12.0pt;"&gt;My latest blog post &lt;/SPAN&gt;&lt;A href="https://perytus.com/2021/07/13/the-power-of-using-calculation-groups-with-inactive-relationships-part-1/" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-family: Calibri; font-size: 11.0pt;"&gt;The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) &lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;I would &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;❤&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri; font-size: 9.0pt;"&gt;Kudos&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; if my solution helped. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji'; font-size: 9.0pt;"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 9.0pt;"&gt; If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Visit us at &lt;/SPAN&gt;&lt;A href="https://perytus.com" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;https://perytus.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;, your one-stop-shop for Power BI-related projects/training/consultancy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jan 2022 19:33:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272322#M825173</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2022-01-07T19:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272489#M825188</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;Thanks for this it worked on my dataset after some tweaking (I have repeating ID's with different values so I had to work around that). What I still don't understand is how does the script know to take the topN% and not the low or middle?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 20:46:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2272489#M825188</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-07T20:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2275371#M825751</link>
      <description>&lt;P&gt;Ah I see it's the 'DESC', thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 12:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2275371#M825751</guid>
      <dc:creator>felixthecatx</dc:creator>
      <dc:date>2022-01-10T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get highest top 5 percent of dataset based on a value column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2296375#M831785</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;I have a few questions concerning this method.&lt;/P&gt;&lt;P&gt;1. It works with grabbing values and summing them (in my case by ID). What if I wanted instead of a SUM to provide the max value per ID? When I replace SUM with MAX in the snippet you provided, it no longer grabs N% of the dataset, but shows entire dataset in table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If I don't change the script you provided, but then add other columns to the table, it no longer shows top N%. Is there a way to make this dynamic with other fields in my data set?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 21:57:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/How-to-get-highest-top-5-percent-of-dataset-based-on-a-value/m-p/2296375#M831785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-21T21:57:32Z</dc:date>
    </item>
  </channel>
</rss>

