<?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 express Next Month First Day, Prev. Month First Day etc. (Time intelligence question) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348232#M59460</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write DAX on following examples (as shown below):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on value of "&lt;STRONG&gt;Date&lt;/STRONG&gt;" (like 02/20/2021, 01/10/2021), I would like to create column value like "Next Month First Day", "Current Month First Day", "2 Month..", "4 Month.." etc.&lt;/P&gt;&lt;P&gt;I think creating &lt;U&gt;Column&lt;/U&gt;&amp;nbsp;is what I needed now, but if there is a way to create &lt;U&gt;Measure&lt;/U&gt;, I will use later.&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;&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>Fri, 18 Feb 2022 18:36:20 GMT</pubDate>
    <dc:creator>JustinDoh1</dc:creator>
    <dc:date>2022-02-18T18:36:20Z</dc:date>
    <item>
      <title>How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348232#M59460</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write DAX on following examples (as shown below):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on value of "&lt;STRONG&gt;Date&lt;/STRONG&gt;" (like 02/20/2021, 01/10/2021), I would like to create column value like "Next Month First Day", "Current Month First Day", "2 Month..", "4 Month.." etc.&lt;/P&gt;&lt;P&gt;I think creating &lt;U&gt;Column&lt;/U&gt;&amp;nbsp;is what I needed now, but if there is a way to create &lt;U&gt;Measure&lt;/U&gt;, I will use later.&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;&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>Fri, 18 Feb 2022 18:36:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348232#M59460</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2022-02-18T18:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348250#M59466</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;If your matrix has month as column, then this would work as a measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Next Month First Day = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;dayone&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dates[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;dayone&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dates[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;))+&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 18:53:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348250#M59466</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-18T18:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348273#M59467</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179903" data-lia-user-login="Whitewater100" class="lia-mention lia-mention-user"&gt;Whitewater100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much! How do we express in Column by chance?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 19:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348273#M59467</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2022-02-18T19:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348405#M59475</link>
      <description>&lt;P&gt;I got this now in column:&lt;BR /&gt;Current Month First Day1 = EOMONTH(CALENDAR[Date] ,-1)+1&lt;/P&gt;&lt;P&gt;2 Month Ago First Day1 = EOMONTH(CALENDAR[Date] ,-3)+1&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:58:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348405#M59475</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2022-02-18T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348406#M59476</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;NP.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Begin Next Month = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;currdate&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Dates[Date]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;currdate&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If it works well, please accept as solution. Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:58:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348406#M59476</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-18T20:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to express Next Month First Day, Prev. Month First Day etc. (Time intelligence question)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348613#M59499</link>
      <description>&lt;P&gt;Hi Justin:&lt;/P&gt;&lt;P&gt;Anoter variation you might like is:&lt;/P&gt;&lt;P&gt;=NEXTDAY(LASTDATE(Dates[Date]))&lt;/P&gt;&lt;P&gt;It's less code and works if you are set up by month. Just FYI. Bill&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 01:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-express-Next-Month-First-Day-Prev-Month-First-Day-etc/m-p/2348613#M59499</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-19T01:34:06Z</dc:date>
    </item>
  </channel>
</rss>

