<?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: How to change the day portion of the date to &amp;quot;1&amp;quot;. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687065#M80752</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;You can use&lt;/P&gt;&lt;P&gt;EOMONTH ( TableName[Date], -1 ) + 1&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 10:33:19 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-08-08T10:33:19Z</dc:date>
    <item>
      <title>How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687057#M80749</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I've a date where I've a range for 2 years and in this range I want to change all the days to 1st of that month. How can I do that I am working with directquery.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:30:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687057#M80749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T10:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687062#M80750</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&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;&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;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377293" data-lia-user-login="SpartaBI" class="lia-mention lia-mention-user"&gt;SpartaBI&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:32:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687062#M80750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T10:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687065#M80752</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can use&lt;/P&gt;&lt;P&gt;EOMONTH ( TableName[Date], -1 ) + 1&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:33:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687065#M80752</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-08T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687073#M80754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for responding.&lt;BR /&gt;&lt;BR /&gt;I've checked "EOMONTH" but It does not work in directquery mode.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:37:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687073#M80754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687078#M80755</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=
DATE ( YEAR ( TableName[Date] ), MONTH ( TableName[Date] ), 1 )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:38:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687078#M80755</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-08T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687085#M80757</link>
      <description>&lt;P&gt;No luck with this one as well.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:41:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2687085#M80757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2694456#M81231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Direct query connection mode is very restrictive for DAX functions, in another word, most DAX statements may not be supported in this mode, hence your error above. The more recommended method&amp;nbsp; for you is to write the relevant SQL statements directly when connecting to the data source, to present the data you need precisely to the desktop.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly&lt;/I&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 08:07:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2694456#M81231</guid>
      <dc:creator>selinaz</dc:creator>
      <dc:date>2022-08-11T08:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the day portion of the date to "1".</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2695141#M81288</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Have tryed creating it as a measure instead of a column? is this a valid option fro your case?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:19:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-change-the-day-portion-of-the-date-to-quot-1-quot/m-p/2695141#M81288</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-11T12:19:15Z</dc:date>
    </item>
  </channel>
</rss>

