<?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: How to ranking sales  with clients and each month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513931#M134884</link>
    <description>&lt;P&gt;Hello!!! Thanks for reply~&lt;/P&gt;&lt;P&gt;I'm try it,but my &lt;SPAN&gt;'Sales'&lt;FONT color="#FF0000"&gt;[YearMonth]&lt;/FONT&gt; = MAX('Sales'[YearMonth])&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;show error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;because&amp;nbsp;'Sales'&lt;FONT color="#FF0000"&gt;[YearMonth]&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;properties is column not a measure.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 07:55:00 GMT</pubDate>
    <dc:creator>Lily36876</dc:creator>
    <dc:date>2023-11-03T07:55:00Z</dc:date>
    <item>
      <title>How to ranking sales  with clients and each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513669#M134867</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Originally, I only needed to rank the sales amount BY Client in my report. So, I used this DAX formula:&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;U&gt;&lt;STRONG&gt;AMT Rank = RANKX( ALLSELECTED('Sales'[Customer Name]), 'Sales'[1. Actual Sales Amount], , DESC )&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now, I need to view their rankings &lt;STRONG&gt;by YearMonth&lt;/STRONG&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;How should I modify my formula for this?&lt;/P&gt;&lt;P&gt;Please provide me with some advice. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My ideal format looks like the following:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And this is a simple data model&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 05:05:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513669#M134867</guid>
      <dc:creator>Lily36876</dc:creator>
      <dc:date>2023-11-03T05:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to ranking sales  with clients and each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513691#M134870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="404156" data-lia-user-login="Lily36876" class="lia-mention lia-mention-user"&gt;Lily36876&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As your data model is the Sales Table filter the Date table?&lt;/P&gt;&lt;P&gt;Can you share sample of your data in text format or PBIX file here?&lt;/P&gt;&lt;P&gt;What is the expected output? in the ideal image you shares, the rak is 1 for all items&lt;BR /&gt;&lt;BR /&gt;BTW, check this, it's quick similar to your case:&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Rank-sales-value-grouped-by-month-and-year/m-p/3304490" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/Rank-sales-value-grouped-by-month-and-year/m-p/3304490&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 05:13:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513691#M134870</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2023-11-03T05:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to ranking sales  with clients and each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513899#M134882</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="404156" data-lia-user-login="Lily36876" class="lia-mention lia-mention-user"&gt;Lily36876&lt;/a&gt;&amp;nbsp;Try with:&lt;BR /&gt;&lt;BR /&gt;AMT Rank =&lt;BR /&gt;RANKX(&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Sales'[Customer Name]),&lt;BR /&gt;'Sales'[YearMonth] = MAX('Sales'[YearMonth])&lt;BR /&gt;),&lt;BR /&gt;'Sales'[1. Actual Sales Amount],&lt;BR /&gt;,&lt;BR /&gt;DESC&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BBF&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 07:39:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513899#M134882</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-11-03T07:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to ranking sales  with clients and each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513931#M134884</link>
      <description>&lt;P&gt;Hello!!! Thanks for reply~&lt;/P&gt;&lt;P&gt;I'm try it,but my &lt;SPAN&gt;'Sales'&lt;FONT color="#FF0000"&gt;[YearMonth]&lt;/FONT&gt; = MAX('Sales'[YearMonth])&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;show error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;because&amp;nbsp;'Sales'&lt;FONT color="#FF0000"&gt;[YearMonth]&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;properties is column not a measure.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 07:55:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3513931#M134884</guid>
      <dc:creator>Lily36876</dc:creator>
      <dc:date>2023-11-03T07:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to ranking sales  with clients and each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3518101#M135109</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="404156" data-lia-user-login="Lily36876" class="lia-mention lia-mention-user"&gt;Lily36876&lt;/a&gt;&amp;nbsp;the code is for a calculated olumn, not a measure. Try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 16:03:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-ranking-sales-with-clients-and-each-month/m-p/3518101#M135109</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2023-11-06T16:03:52Z</dc:date>
    </item>
  </channel>
</rss>

