<?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: Top 5 percent filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933426#M9631</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33803" data-lia-user-login="Mery" class="lia-mention lia-mention-user"&gt;Mery&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the new filter panel on the right side after you select the visual, select the attribute(arrow) and choose filter type as top N and 5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag the measure you used in the graph in "By Value"(highlighted) and Apply filter.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If it helps ,mark it as a solution&lt;/P&gt;&lt;P&gt;Kudos are nice too&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2020 15:14:08 GMT</pubDate>
    <dc:creator>VasTg</dc:creator>
    <dc:date>2020-02-14T15:14:08Z</dc:date>
    <item>
      <title>Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933411#M9629</link>
      <description>&lt;P&gt;hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am trying to show just Top 5 cp in a barchart and hide or do not show other values in the barchart.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Like that:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the problem here, i'm using this formula to calculate the percentage:&lt;/P&gt;&lt;P&gt;%cp =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE(SUM (table[volume]);CALCULATE(SUMX(filter( table; table[cp] &amp;lt;&amp;gt;"med" );table[volume] );ALL( table)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;and when i use the cp on filter, the percentage doesn't change&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;i rather wait for top 5 of this result:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help!&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Feb 2020 15:02:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933411#M9629</guid>
      <dc:creator>Mery</dc:creator>
      <dc:date>2020-02-14T15:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933426#M9631</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33803" data-lia-user-login="Mery" class="lia-mention lia-mention-user"&gt;Mery&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the new filter panel on the right side after you select the visual, select the attribute(arrow) and choose filter type as top N and 5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag the measure you used in the graph in "By Value"(highlighted) and Apply filter.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If it helps ,mark it as a solution&lt;/P&gt;&lt;P&gt;Kudos are nice too&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 15:14:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933426#M9631</guid>
      <dc:creator>VasTg</dc:creator>
      <dc:date>2020-02-14T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933433#M9633</link>
      <description>&lt;P&gt;my problem isn't how to display the top 5 but how calculate the percentage correctly in mode top 5 as explained on the post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 15:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933433#M9633</guid>
      <dc:creator>Mery</dc:creator>
      <dc:date>2020-02-14T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933454#M9635</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33803" data-lia-user-login="Mery" class="lia-mention lia-mention-user"&gt;Mery&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%cp = 
VAR A = ALLSELECTED(TABLE[CP])
VAR B = CALCULATE(SUM(TABLE[volume]),FILTER(A,TABLE[cp]&amp;lt;&amp;gt;"med")) 
RETURN DIVIDE(SUM (table[volume]),B)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it helps, mark it as a solution&lt;/P&gt;&lt;P&gt;Kudos are nice too&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 17:11:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933454#M9635</guid>
      <dc:creator>VasTg</dc:creator>
      <dc:date>2020-02-14T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933572#M9649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33803" data-lia-user-login="Mery" class="lia-mention lia-mention-user"&gt;Mery&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your "cp%" calculation, use ALLSELECTED rather then ALL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 16:49:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/933572#M9649</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-02-14T16:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 percent filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/935191#M9724</link>
      <description>&lt;P&gt;The problem with &lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;, when i keep top 5 i have a 100% on the 5 cp.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:07:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-percent-filter/m-p/935191#M9724</guid>
      <dc:creator>Mery</dc:creator>
      <dc:date>2020-02-17T09:07:32Z</dc:date>
    </item>
  </channel>
</rss>

