<?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 FILTRAR 3 MAIORES E OS 3 MENORES. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FILTRAR-3-MAIORES-E-OS-3-MENORES/m-p/1815051#M38390</link>
    <description>&lt;P&gt;Eu tenho uma tabela com nome de funcionários e quantidade de venda, onde para cada linha na tabela e uma venda realizada.&lt;/P&gt;&lt;P&gt;Em uma matriz eu coloquei:&lt;BR /&gt;Nome funcionários e uma medida quantidade de venda.&lt;/P&gt;&lt;P&gt;Quero adicionar uma segmentação de dados, e escolher um funcionário.&lt;BR /&gt;&lt;BR /&gt;E na matrix quero que apareça apenas os 3 funcionários que vendeu mais do que ele e os 3 que vende mais do ele.&lt;/P&gt;&lt;P&gt;E possível?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 19:09:17 GMT</pubDate>
    <dc:creator>EdsonGomes</dc:creator>
    <dc:date>2021-04-29T19:09:17Z</dc:date>
    <item>
      <title>FILTRAR 3 MAIORES E OS 3 MENORES.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FILTRAR-3-MAIORES-E-OS-3-MENORES/m-p/1815051#M38390</link>
      <description>&lt;P&gt;Eu tenho uma tabela com nome de funcionários e quantidade de venda, onde para cada linha na tabela e uma venda realizada.&lt;/P&gt;&lt;P&gt;Em uma matriz eu coloquei:&lt;BR /&gt;Nome funcionários e uma medida quantidade de venda.&lt;/P&gt;&lt;P&gt;Quero adicionar uma segmentação de dados, e escolher um funcionário.&lt;BR /&gt;&lt;BR /&gt;E na matrix quero que apareça apenas os 3 funcionários que vendeu mais do que ele e os 3 que vende mais do ele.&lt;/P&gt;&lt;P&gt;E possível?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 19:09:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FILTRAR-3-MAIORES-E-OS-3-MENORES/m-p/1815051#M38390</guid>
      <dc:creator>EdsonGomes</dc:creator>
      <dc:date>2021-04-29T19:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: FILTRAR 3 MAIORES E OS 3 MENORES.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FILTRAR-3-MAIORES-E-OS-3-MENORES/m-p/1815577#M38408</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="297097" data-lia-user-login="EdsonGomes" class="lia-mention lia-mention-user"&gt;EdsonGomes&lt;/a&gt; , You need an independent date table.&lt;/P&gt;
&lt;P&gt;Create a measure using that&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select sales =&lt;/P&gt;
&lt;P&gt;calculate([sales] , filter(Table, Table[employee] = selectedvalue(Emp[Employee]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure&lt;/P&gt;
&lt;P&gt;final Sales=&lt;/P&gt;
&lt;P&gt;sumx(filter(values(Table[Employee]), [sales] &amp;gt;[select sales]),[Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not you can use TOPN filter from viusal level filter of use TOPN function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TOP 3= CALCULATE([final Sales],TOPN(3,all(Table[Employee]),[final Sales],DESC),VALUES(Table[Employee]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use only this measure with an employee from the table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer&lt;/P&gt;
&lt;P&gt;Need of an Independent Table in Power BI: &lt;A href="https://youtu.be/lOEW-YUrAbE" target="_blank"&gt;https://youtu.be/lOEW-YUrAbE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TOPN: &lt;A href="https://www.youtube.com/watch?v=QIVEFp-QiOk&amp;amp;list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&amp;amp;index=42" target="_blank"&gt;https://www.youtube.com/watch?v=QIVEFp-QiOk&amp;amp;list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&amp;amp;index=42&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 02:57:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/FILTRAR-3-MAIORES-E-OS-3-MENORES/m-p/1815577#M38408</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-30T02:57:43Z</dc:date>
    </item>
  </channel>
</rss>

