<?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: Month Order for a calculated dimension table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2582246#M74124</link>
    <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="370684" data-lia-user-login="Winniethewinner" class="lia-mention lia-mention-user"&gt;Winniethewinner&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;The question I have is, the months are 7-month forwarding, i.e. I will have 07,08,09,10,11,12,01 as the next&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Because they are in text form, they cannot be sorted by themselves, so you can try&amp;nbsp;&lt;STRONG&gt;sort by column&lt;/STRONG&gt;.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-desktop#set-the-column-to-use-for-sorting" target="_blank"&gt;Sort one column by another column in Power BI - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Or you can try this one, use year-month column, for example,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 07:19:25 GMT</pubDate>
    <dc:creator>v-xiaotang</dc:creator>
    <dc:date>2022-06-16T07:19:25Z</dc:date>
    <item>
      <title>Month Order for a calculated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2575493#M73734</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a calculated dimension table and use it to dynamically switch the axis in the chart. Here is the calculated table DAX:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And here is the chart, which is switched based on the axis on the left:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question I have is, the months are 7-month forwarding, i.e. I will have 07,08,09,10,11,12,01 as the next, how can I sort it properly for those months?&amp;nbsp;&lt;/P&gt;&lt;P&gt;(because I use the calculated table for "Month" attribute, those values 07,09,09,10,11,12,01 are in text format)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 14:31:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2575493#M73734</guid>
      <dc:creator>Winniethewinner</dc:creator>
      <dc:date>2022-06-13T14:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Month Order for a calculated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2582246#M74124</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="370684" data-lia-user-login="Winniethewinner" class="lia-mention lia-mention-user"&gt;Winniethewinner&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;The question I have is, the months are 7-month forwarding, i.e. I will have 07,08,09,10,11,12,01 as the next&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Because they are in text form, they cannot be sorted by themselves, so you can try&amp;nbsp;&lt;STRONG&gt;sort by column&lt;/STRONG&gt;.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-desktop#set-the-column-to-use-for-sorting" target="_blank"&gt;Sort one column by another column in Power BI - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Or you can try this one, use year-month column, for example,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 07:19:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2582246#M74124</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-06-16T07:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Month Order for a calculated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2586235#M74381</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296930" data-lia-user-login="v-xiaotang" class="lia-mention lia-mention-user"&gt;v-xiaotang&lt;/a&gt;&amp;nbsp;. I'm uploading this&amp;nbsp;&lt;A href="https://onedrive.live.com/?cid=3E3FF409CB9085D6&amp;amp;id=3E3FF409CB9085D6%21263&amp;amp;parId=root&amp;amp;o=OneUp" target="_self"&gt;sample data&lt;/A&gt;&amp;nbsp;- I'd like to sort the month properly when switching to month dimension.&amp;nbsp; if I create a separate Month_table, how do I link it to the DimTable which also have other dimensions and values? Another thing is when I add relationship using Index between 2x tables, the autosum (sigma) disappears, any idea why? Thanks in advanced.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 18:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Month-Order-for-a-calculated-dimension-table/m-p/2586235#M74381</guid>
      <dc:creator>Winniethewinner</dc:creator>
      <dc:date>2022-06-17T18:12:58Z</dc:date>
    </item>
  </channel>
</rss>

