<?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: Rank &amp;amp; Rankx for calculated column in calculated table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303702#M123333</link>
    <description>&lt;P&gt;i found my solution&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank by category = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header'[BRAND_NAME]), &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header'[Total Net Sale]),&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header','Products Header'[BRAND_NAME])),,&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;SPAN&gt;,Dense)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Jun 2023 06:39:12 GMT</pubDate>
    <dc:creator>Amrselim1989</dc:creator>
    <dc:date>2023-06-27T06:39:12Z</dc:date>
    <item>
      <title>Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303591#M123316</link>
      <description>&lt;P&gt;Dear Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly note i have calculated table which is i summerize sales by product name in it, so fine so far&amp;nbsp;&lt;/P&gt;&lt;P&gt;after this i used new column to calculate a column&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank Net Sales = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'Products Header'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Header Total Sales]&lt;/SPAN&gt;&lt;SPAN&gt;,, &lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DENSE&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;so fine so far&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but the problem starts now, i want to rank the product category depending on total sales for this category and I have to put it in the same&amp;nbsp;calculated table just like below&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help?!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 04:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303591#M123316</guid>
      <dc:creator>Amrselim1989</dc:creator>
      <dc:date>2023-06-27T04:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303651#M123324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="484463" data-lia-user-login="Amrselim1989" class="lia-mention lia-mention-user"&gt;Amrselim1989&lt;/a&gt;&amp;nbsp;your measure to rank sales by category could be&lt;/P&gt;&lt;P&gt;Rank by category=RANKX(ALL(Table1[Category]); CALCULATE(SUM(Table1[Sales]));;DESC)&lt;/P&gt;&lt;P&gt;Adjust&amp;nbsp;Table1 to your table name&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Accept it as the solution&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 05:58:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303651#M123324</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-06-27T05:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303667#M123326</link>
      <description>&lt;P&gt;unfortunately, it doesn't work, it only gives me two values instead of four.&lt;/P&gt;&lt;P&gt;there a screen shot if i make a sperate table for brand and i ranked it&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;but i can't rank it in the details table based on the summation of brand sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help??!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:18:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303667#M123326</guid>
      <dc:creator>Amrselim1989</dc:creator>
      <dc:date>2023-06-27T06:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303669#M123327</link>
      <description>&lt;P&gt;Total Sales = SUM([Sales])&lt;BR /&gt;&lt;BR /&gt;Category Ranks = RANKX(ALL('Table'),[Total Sales],Desc)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:19:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303669#M123327</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-06-27T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303676#M123329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="484463" data-lia-user-login="Amrselim1989" class="lia-mention lia-mention-user"&gt;Amrselim1989&lt;/a&gt;&amp;nbsp;my solution is measure. Go to your pivot table and put this measure into pivot table and check results.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:26:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303676#M123329</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-06-27T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303679#M123330</link>
      <description>&lt;P&gt;No, i don't want it as a measure it must be a calculated column, it must be a calculated column for other purposes&lt;/P&gt;&lt;P&gt;thank you for your patience.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:28:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303679#M123330</guid>
      <dc:creator>Amrselim1989</dc:creator>
      <dc:date>2023-06-27T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rank &amp; Rankx for calculated column in calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303702#M123333</link>
      <description>&lt;P&gt;i found my solution&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank by category = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header'[BRAND_NAME]), &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header'[Total Net Sale]),&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;('Products Header','Products Header'[BRAND_NAME])),,&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;SPAN&gt;,Dense)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:39:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-amp-Rankx-for-calculated-column-in-calculated-table/m-p/3303702#M123333</guid>
      <dc:creator>Amrselim1989</dc:creator>
      <dc:date>2023-06-27T06:39:12Z</dc:date>
    </item>
  </channel>
</rss>

