<?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: RANKX to do a TOPN - Lot of Data and Rows - Errors in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1082001#M15309</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried to publish it ? Check the performance on the service.&lt;/P&gt;&lt;P&gt;Also, can you reduce your model by summarizing or creating dimensions ?&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 23:34:56 GMT</pubDate>
    <dc:creator>camargos88</dc:creator>
    <dc:date>2020-05-08T23:34:56Z</dc:date>
    <item>
      <title>RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076457#M15105</link>
      <description>&lt;P&gt;Good Morning my Friends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im having some problems and i Believe you guys are able to help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a List with over 80.000 Key IDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each Key ID represents a Travel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Wanna do a TOPN List to show just the "more expensives" travels that were made... So I wanna be able to show 25, 50 and 100 differents Travels inside my Dashboard&amp;nbsp;Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i tried to follow some steps and do First a RANKX, than a TOPN/TOPNValues Table, and finally a mesuare with a IF to do the LogicalTest between the TOPN Value Selected and my Value's Rank Position to show or not that value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just like we can see in this video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=SsZseKOgrWQ" target="_blank"&gt;https://www.youtube.com/watch?v=SsZseKOgrWQ&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, How i have more then 80.000 Rows when PowerBI tries to Rank it all in a Dashboard Table its keep Charging and Charging for a very Long times and never ends.... Until my Dashboard table presents an error....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there Any other option to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that is important to say that i wanna Filter my values not just using the TOPN but using others Filters as which Sector has requested the Travel.... So If I Filter by Saying Sector A requested the Travel &amp;nbsp;I Wanna show the 100s most expansibles Travels that Sector A requested.... If I Filter by Sector B, the same.... and if i Have no Sector Filter I wanna Show the 100s most expansibles Travels made by The Country(Sector is not important in this case)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought about using an TOPN Function, to Get the first 5000 Values in a new Table and then do the RANKX there, with less Data and less Row(5000 vs 80.000). My fear is that : "What if some of My more Expansibles Travels of one of my Sectors is under those 5000 first Values?" I dont think its the ideal solution.... It most have something better....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Dashboards Table Filter were Dynamic it would be Perfect.... But how it is not if i use the Dashboards Table Filter i can only choose to Filter by one Constant Number always... And i wanna be able to change for Differents TOPN numbers(Filter by 20, 50, 100, or any other number I Prefer) ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 15:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076457#M15105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-06T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076487#M15108</link>
      <description>Are you doing RANKX in a column?</description>
      <pubDate>Wed, 06 May 2020 15:39:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076487#M15108</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-06T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076499#M15109</link>
      <description>&lt;P&gt;Nope, I'm Doing RANKX in a Measure&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 15:40:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1076499#M15109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-06T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1077557#M15141</link>
      <description>&lt;P&gt;Doing a summary table can certainly help performance if it meet your needs, but Power BI should be able to handle 80,000 rows comfortably.&amp;nbsp; How complex is your measure?&amp;nbsp; Can you share it and/or some example data to help troubleshooting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 00:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1077557#M15141</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-05-07T00:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1079757#M15206</link>
      <description>&lt;P&gt;Hey Pat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Awnser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure, heres a Sample of my data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;['2020_Pagamento]&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my Measure:&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;Where [GastoTotal] = Sum('2020_Pagamento'[Valor])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both Sources '2020_Pagamento' and '2020_Viagem' are related by The Travel ID('Identificador do Processo de Viagem')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the Dashboards Table Charging forever:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:58:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1079757#M15206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-07T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1080222#M15222</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You could try some filters functions in your measure, something like.. rank the values only when the filters are applied.&lt;/P&gt;&lt;P&gt;Also, have you tried this performance on Power BI Service ? I would give it a chance.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 22:13:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1080222#M15222</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-07T22:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1081602#M15280</link>
      <description>&lt;P&gt;Good Idea!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ll try something like IF TopNValue HASONEVALUE/SELECTEDVALUE.... than RANK it, do you think itll work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ill try and come back to say if it works!&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 15:31:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1081602#M15280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-08T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1081942#M15302</link>
      <description>&lt;P&gt;It did not =/&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 21:03:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1081942#M15302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-08T21:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX to do a TOPN - Lot of Data and Rows - Errors</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1082001#M15309</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried to publish it ? Check the performance on the service.&lt;/P&gt;&lt;P&gt;Also, can you reduce your model by summarizing or creating dimensions ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 23:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-to-do-a-TOPN-Lot-of-Data-and-Rows-Errors/m-p/1082001#M15309</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-08T23:34:56Z</dc:date>
    </item>
  </channel>
</rss>

