<?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 How to add index based on month and year combined- to sort month in asc order in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1603147#M32150</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I want to sort below month'Year in asending order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to sort. please help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Used already-Created monthNo &amp;amp; sorted on and got result correct for only year but not for more than 1 year as it has more than 1 year like in above view .&lt;/P&gt;&lt;P&gt;I don't have to plot year above month row in view.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jan 2021 11:40:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-16T11:40:56Z</dc:date>
    <item>
      <title>How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1603147#M32150</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I want to sort below month'Year in asending order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to sort. please help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Used already-Created monthNo &amp;amp; sorted on and got result correct for only year but not for more than 1 year as it has more than 1 year like in above view .&lt;/P&gt;&lt;P&gt;I don't have to plot year above month row in view.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 11:40:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1603147#M32150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-16T11:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1603161#M32152</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You need to create the sort column including the year, modify monthno column as follows, and sort by that:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YearMonth = YEAR(Dates[Date]) * 100 + MONTH(Dates[Date])&lt;/LI-CODE&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please click &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help other members find it useful&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.excelfort.com" target="_blank"&gt;&lt;FONT color="blue"&gt;Website&lt;/FONT&gt;&lt;/A&gt; &lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 11:51:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1603161#M32152</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-01-16T11:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1605878#M32227</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;Create MonthYearInteger column&amp;nbsp;&lt;BR /&gt;MonthYearInteger =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CONCATENATE( 'Calendar'[Year], RIGHT("0" &amp;amp; 'Calendar'[Month Number], 2) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sort the MonthYear column by MonthYearInteger.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jan 2021 13:35:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1605878#M32227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-18T13:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606536#M32235</link>
      <description>&lt;P&gt;Hi Tarun,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this using &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt; post. but thanks for reply you r also corect&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:41:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606536#M32235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-18T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606548#M32236</link>
      <description>&lt;P&gt;Hi Tarun,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;I have done this by this way&lt;/P&gt;&lt;P&gt;Created one column&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MonthYearSort = FORMAT(Dates[Date],"YYYYMM")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Month'Year=Format(Dates[Dates],"MMM'YY")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then goto Sort by &amp;gt; click on monthyearsort then output will be correct.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:45:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606548#M32236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-18T18:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add index based on month and year combined- to sort month in asc order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606550#M32237</link>
      <description>&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;I have done this by this way&lt;/P&gt;&lt;P&gt;Created one column&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MonthYearSort = FORMAT(Dates[Date],"YYYYMM")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Month'Year=Format(Dates[Dates],"MMM'YY")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then goto Sort by &amp;gt; click on monthyearsort then output will be correct.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-index-based-on-month-and-year-combined-to-sort-month/m-p/1606550#M32237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-18T18:46:39Z</dc:date>
    </item>
  </channel>
</rss>

