<?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: Ranking Months Based on Date Slicer selected date. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3020738#M102755</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481859" data-lia-user-login="Piyush_Ghungrud" class="lia-mention lia-mention-user"&gt;Piyush_Ghungrud&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;please use this new measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Index expected result: = 
VAR _startdate =[Begin]
VAR _monthyearbyproducttable =
    CALCULATETABLE (
        SUMMARIZECOLUMNS ( 'Table'[Year-Month], 'Table'[Sort] ),
        FILTER ( ALL('Table'), 'Table'[Date] &amp;gt;= _startdate )
    )
RETURN
    IF (
        NOT ISBLANK ( [Sales Measure] )
            &amp;amp;&amp;amp; HASONEVALUE ( 'Table'[Year-Month] ),
        COUNTROWS (
            WINDOW (
                1,
                ABS,
                0,
                REL,
                _monthyearbyproducttable,
                
                ORDERBY ( 'Table'[Sort], ASC )
            )
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example 1:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example 2:&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 the powerbi file:&amp;nbsp;&lt;A href="https://1drv.ms/u/s!Ag9tIyk2ofNRjmhuYW0Ig0PdVG-9?e=pREtpE" target="_blank"&gt;https://1drv.ms/u/s!Ag9tIyk2ofNRjmhuYW0Ig0PdVG-9?e=pREtpE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if it solved it please accept this as a solution and thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;for the help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jan 2023 11:45:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-14T11:45:24Z</dc:date>
    <item>
      <title>Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018766#M102617</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been wondering if we can create a Ranking Till Dates selected in the Slicer.&amp;nbsp;&lt;BR /&gt;Here I have a data which has product, launch date, month and sales.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Launch Date&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Sep-20&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Oct-20&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Dec-20&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Sep-20&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Oct-20&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Jan-21&lt;/TD&gt;&lt;TD&gt;Feb-21&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Jan-21&lt;/TD&gt;&lt;TD&gt;Mar-21&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Jan-21&lt;/TD&gt;&lt;TD&gt;May-21&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking if it is possible to Create a Dynamic Rank , based on the order of months, given the date selected.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Date Selected&lt;/TD&gt;&lt;TD&gt;Dec-20&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Product&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Sales&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Launch Date&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Month&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;RANK&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Sep-20&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Oct-20&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Nov-20&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;Dec-20&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Jun-20&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Jul-20&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Aug-20&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Sep-20&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;May-20&lt;/TD&gt;&lt;TD&gt;Oct-20&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;if, the data between launch and month is not there, then it should take the date in order and also rank it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you&lt;SPAN&gt;&amp;nbsp;&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>Fri, 13 Jan 2023 08:59:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018766#M102617</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-13T08:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018782#M102618</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481859" data-lia-user-login="Piyush_Ghungrud" class="lia-mention lia-mention-user"&gt;Piyush_Ghungrud&lt;/a&gt;&amp;nbsp;i didnt quiet understand the condition of ranking, if you select december 20 on what basis should it rank?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:03:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018782#M102618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-13T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018800#M102623</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;for reaching me,&lt;/P&gt;&lt;P&gt;I want to rank months from the launch date of the product till the selected date.&lt;BR /&gt;As you can see, the selected month is Dec 20, till Dec 20 whatever product has launched has been displayed and ranking given to the months(Please note: Between Launch Date and Month, there could be missing Months data, but it should fill the missing months and rank those months also).&lt;BR /&gt;Please, let me know for further information.&lt;BR /&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:12:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018800#M102623</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-13T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018975#M102639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In addition to this, The different products can have the same ranks, as the ranking is based on months and the distinct product is selected.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 10:42:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3018975#M102639</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-13T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3019622#M102680</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481859" data-lia-user-login="Piyush_Ghungrud" class="lia-mention lia-mention-user"&gt;Piyush_Ghungrud&lt;/a&gt;&amp;nbsp;sorry for late reply i got busy but i reached a place i just have the ranking im stuck on&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;as you can see ive reached your desired result i just have to rank it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 15:04:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3019622#M102680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-13T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3019762#M102691</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481859" data-lia-user-login="Piyush_Ghungrud" class="lia-mention lia-mention-user"&gt;Piyush_Ghungrud&lt;/a&gt;&amp;nbsp;you can find all the steps i made to reach here in the powerbi file im sorry i couldnt find a solution to ranking&lt;BR /&gt;&lt;BR /&gt;powerbi file :&amp;nbsp;&lt;A href="https://1drv.ms/u/s!Ag9tIyk2ofNRjmfg4RpeqSmj2utU?e=lujztN" target="_blank"&gt;https://1drv.ms/u/s!Ag9tIyk2ofNRjmfg4RpeqSmj2utU?e=lujztN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;just make sure to change directory in powerquery of the source of Table so you can see the steps&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 16:00:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3019762#M102691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-13T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3020650#M102749</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/381685" target="_blank"&gt;@eliasayy&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your efforts. I see you have got the missing months in there, as well, as per post, that's great.&lt;BR /&gt;Now, I am working and looking for a way to rank the Months, If you find a solution please let us know.&lt;BR /&gt;Thank You&lt;SPAN&gt;&amp;nbsp;&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>Sat, 14 Jan 2023 05:52:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3020650#M102749</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-14T05:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3020738#M102755</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481859" data-lia-user-login="Piyush_Ghungrud" class="lia-mention lia-mention-user"&gt;Piyush_Ghungrud&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;please use this new measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Index expected result: = 
VAR _startdate =[Begin]
VAR _monthyearbyproducttable =
    CALCULATETABLE (
        SUMMARIZECOLUMNS ( 'Table'[Year-Month], 'Table'[Sort] ),
        FILTER ( ALL('Table'), 'Table'[Date] &amp;gt;= _startdate )
    )
RETURN
    IF (
        NOT ISBLANK ( [Sales Measure] )
            &amp;amp;&amp;amp; HASONEVALUE ( 'Table'[Year-Month] ),
        COUNTROWS (
            WINDOW (
                1,
                ABS,
                0,
                REL,
                _monthyearbyproducttable,
                
                ORDERBY ( 'Table'[Sort], ASC )
            )
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example 1:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example 2:&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 the powerbi file:&amp;nbsp;&lt;A href="https://1drv.ms/u/s!Ag9tIyk2ofNRjmhuYW0Ig0PdVG-9?e=pREtpE" target="_blank"&gt;https://1drv.ms/u/s!Ag9tIyk2ofNRjmhuYW0Ig0PdVG-9?e=pREtpE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if it solved it please accept this as a solution and thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;for the help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2023 11:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3020738#M102755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-14T11:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3022289#M102895</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; for helping me out.&lt;/P&gt;&lt;P&gt;It is what I wanted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Coming to think of it, is it possible to plot the rankings on X axis of a Line chart?&lt;BR /&gt;I was thinking to show the sales of products from their launch date to selected date(It will show the how the product has performed from the date of launch and all products in chart).&lt;/P&gt;&lt;P&gt;adding chart for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Kindly ignore, the X-axis title.&lt;/P&gt;&lt;P&gt;In X-axis, the rankings shown(represented as months completed by product since launch). This approach involves creating Ranking in the data table, which makes it static(not dyanamic for selecting dates).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, let us know.&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:03:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3022289#M102895</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-16T06:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3023836#M103005</link>
      <description>&lt;P&gt;Hello im not sure i understood&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct me if im wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have the y axis the sales measure for each product and on y axis you want everydate that was on the table by product right?&lt;/P&gt;&lt;P&gt;Do you want the sales to be accumulated after the launch date? Like for example product A if we select on date slicer october 2020,&lt;/P&gt;&lt;P&gt;&amp;nbsp;On launch in august it had 10 sales then after 2 months it had 5 in september and 2 sales in october&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you want the line to be 10 then 15 then 17 respectively or 10 then 5 then 2&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 17:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3023836#M103005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-16T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3024706#M103078</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;On Y-axis it would be sales and X-axis it would be ranking. As you mentioned, the sales, it will not aggregate, it will be 10 then 5 then 2, this way, it will show how the product has performed since launch date.&lt;BR /&gt;If you could suggest any other(apart from ranking) way to get upto this result, I would be happy to know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 04:32:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3024706#M103078</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-17T04:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3026984#M103252</link>
      <description>&lt;P&gt;I think you could try to put the sales measure i gave you in the powerbi and then add products as legend and then on the x-axis , put the year-month because they are already sorted in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 21:27:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3026984#M103252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-17T21:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3027510#M103292</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the way you mentioned, below is the visual that I am getting&lt;BR /&gt;&lt;img /&gt;Can we&lt;SPAN&gt;&amp;nbsp;be able to mention the number of months since launch of product in the X-axis(and not the Month-Year) and start it from the '0th' value, so all the products will show emerging from zero values?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know, I will also check on the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 04:46:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3027510#M103292</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-18T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3029866#M103497</link>
      <description>&lt;P&gt;im sorry but i didnt get it do you mean that you want the first date on the xaxis to be all are 0?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 00:07:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3029866#M103497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T00:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3030265#M103521</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please check this, here the X-axis has started from zero and the values are also zero for all, by doing such, it shows the product just launched at that point.&lt;BR /&gt;Please let me know if you need any more details.&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 04:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3030265#M103521</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-19T04:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3031639#M103610</link>
      <description>&lt;P&gt;Oh so you want the results from&amp;nbsp; the answer i gave you where you add the month-year with the measure but you want the line to go from 0 up to the value on the first date of launch?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:50:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3031639#M103610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3031655#M103614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;, the line from zero and on X-axis, should show the index expected result measure.&lt;BR /&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:57:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3031655#M103614</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-01-19T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking Months Based on Date Slicer selected date.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3054717#M105331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; &amp;amp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;from your solution above, is it possible to get any specific index expected result?&lt;BR /&gt;Like, I wanted to have only the second(2nd) index expected result value for product A, B, and C&lt;BR /&gt;and the expected result would be&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Index Expected Result : 2&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Year-Month&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Sales Measure&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Index Expected Result&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Oct-2020&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#00FF00"&gt;2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Jul-2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#00FF00"&gt;2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Mar-2021&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#00FF00"&gt;2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 09:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ranking-Months-Based-on-Date-Slicer-selected-date/m-p/3054717#M105331</guid>
      <dc:creator>Piyush_Ghungrud</dc:creator>
      <dc:date>2023-02-01T09:12:08Z</dc:date>
    </item>
  </channel>
</rss>

