<?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 Help with calendar in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048394#M160594</link>
    <description>&lt;P&gt;Hi, I have a baffling issue creating column Month (see the screenshot) where the date column will change to the next month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without adding column Month - table values are correct&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add Month column - the date column is wrong&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints are appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 11:22:53 GMT</pubDate>
    <dc:creator>hcze</dc:creator>
    <dc:date>2024-07-18T11:22:53Z</dc:date>
    <item>
      <title>Help with calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048394#M160594</link>
      <description>&lt;P&gt;Hi, I have a baffling issue creating column Month (see the screenshot) where the date column will change to the next month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without adding column Month - table values are correct&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add Month column - the date column is wrong&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints are appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048394#M160594</guid>
      <dc:creator>hcze</dc:creator>
      <dc:date>2024-07-18T11:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048451#M160599</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="166293" data-lia-user-login="hcze" class="lia-mention lia-mention-user"&gt;hcze&lt;/a&gt;&amp;nbsp;, Use the below DAX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CalendarTable = &lt;BR /&gt;ADDCOLUMNS(&lt;BR /&gt;CALENDAR(DATE(2024, 1, 1), DATE(2025, 12, 31)),&lt;BR /&gt;"Year", YEAR([Date]),&lt;BR /&gt;"Month Number", MONTH([Date]),&lt;BR /&gt;"Day", DAY([Date]),&lt;BR /&gt;"Month", FORMAT([Date], "MMMM")&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:50:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048451#M160599</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-07-18T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048459#M160601</link>
      <description>&lt;P&gt;Thanks! It does not make sense that the sequence could cause that issue.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:57:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048459#M160601</guid>
      <dc:creator>hcze</dc:creator>
      <dc:date>2024-07-18T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048480#M160602</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="166293" data-lia-user-login="hcze" class="lia-mention lia-mention-user"&gt;hcze&lt;/a&gt;&amp;nbsp;, the issue seems with format function remove 00 then try&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 12:08:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4048480#M160602</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-07-18T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4053601#M160859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="166293" data-lia-user-login="hcze" class="lia-mention lia-mention-user"&gt;hcze&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;Thank you very much for your prompt reply, please allow me to share some content here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made changes to your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CalendarMe = 
ADDCOLUMNS(
    CALENDAR(DATE(2024,1,1), DATE(2025,12,31)),
    "Year", FORMAT(YEAR([Date]), "0000"),
    "Month Number", FORMAT(MONTH([Date]), "00"),
    "Day", FORMAT(DAY([Date]), "00"),
    "Month", FORMAT([Date], "mmmm")
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the result.&lt;/P&gt;
&lt;P&gt;&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;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 09:17:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-calendar/m-p/4053601#M160859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-22T09:17:56Z</dc:date>
    </item>
  </channel>
</rss>

