<?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: Please help with rankx and further visualisation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-with-rankx-and-further-visualisation/m-p/2773787#M86475</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hey, maybe you can fix it as follows:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;[Manufacturer]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Measure on which rank is based]&lt;/SPAN&gt;&lt;SPAN&gt;,,&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This way you get a rank per segment for each manufacturer. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then in the Visual you can put a filter in the filterpane where Rank &amp;lt; 4.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Edit -&amp;gt; Changed [Measure/Calculation on which rank is based] to&amp;nbsp;[Measure on which rank is based]. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankX only seemed to work when refering to a measure, not when putting the calculation within said measure directly into RankX, anyone knows why?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:24:26 GMT</pubDate>
    <dc:creator>GdBreems</dc:creator>
    <dc:date>2022-09-16T14:24:26Z</dc:date>
    <item>
      <title>Please help with rankx and further visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-with-rankx-and-further-visualisation/m-p/2773705#M86470</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;Just looking for some help with rankx function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table that contains information about products sold&amp;nbsp;on a disaggregated basis by segment, manufacturer, total units and product name. I need to rank Products based on total units sold. So my formula is&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Product'&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;SalesFact&lt;/SPAN&gt;&lt;SPAN&gt;[Total Units]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;But further visualisation is incorrect. I need to create a tree diagram showing 3 best selling products by "Abbas" manufacturer in three segments (All season, Moderation and Extreme). So i want to see 9 products in my diagram, 3 in each segment.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;But the outcome is the following:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;So I only see the first 3 best selling products, not 3 best selling products in each category.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your answer&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:40:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-with-rankx-and-further-visualisation/m-p/2773705#M86470</guid>
      <dc:creator>Avdakushina</dc:creator>
      <dc:date>2022-09-16T13:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with rankx and further visualisation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-with-rankx-and-further-visualisation/m-p/2773787#M86475</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hey, maybe you can fix it as follows:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;[Manufacturer]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Measure on which rank is based]&lt;/SPAN&gt;&lt;SPAN&gt;,,&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This way you get a rank per segment for each manufacturer. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then in the Visual you can put a filter in the filterpane where Rank &amp;lt; 4.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Edit -&amp;gt; Changed [Measure/Calculation on which rank is based] to&amp;nbsp;[Measure on which rank is based]. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankX only seemed to work when refering to a measure, not when putting the calculation within said measure directly into RankX, anyone knows why?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Please-help-with-rankx-and-further-visualisation/m-p/2773787#M86475</guid>
      <dc:creator>GdBreems</dc:creator>
      <dc:date>2022-09-16T14:24:26Z</dc:date>
    </item>
  </channel>
</rss>

