<?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: Create custom date column based on another date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904870#M94734</link>
    <description>&lt;P&gt;Hi by using this formula I get all the dates with 15. But the endofmonth returns the same date as in the given column.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 23:05:26 GMT</pubDate>
    <dc:creator>Vatz8</dc:creator>
    <dc:date>2022-11-14T23:05:26Z</dc:date>
    <item>
      <title>Create custom date column based on another date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904759#M94729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to create a custom date column with displays 15th of every month and the end of the month based on a date column.&lt;/P&gt;&lt;P&gt;Any day less than or equal to 15th should display 15th and any day less than or equal to the End of the month should display end of month.&lt;/P&gt;&lt;P&gt;For example--&amp;gt;&lt;/P&gt;&lt;P&gt;Given Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Output Date&lt;/P&gt;&lt;P&gt;10/9/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/15/2022&lt;/P&gt;&lt;P&gt;10/11/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/15/2022&lt;/P&gt;&lt;P&gt;10/17/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/31/2022&lt;/P&gt;&lt;P&gt;10/20/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/31/2022&lt;/P&gt;&lt;P&gt;11/7/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11/15/2022&lt;/P&gt;&lt;P&gt;11/17/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11/30/2022&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 21:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904759#M94729</guid>
      <dc:creator>Vatz8</dc:creator>
      <dc:date>2022-11-14T21:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom date column based on another date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904843#M94731</link>
      <description>&lt;P&gt;Supposing your table named Data, try to add a new column with the code below:&lt;/P&gt;&lt;P&gt;Output Date =&lt;/P&gt;&lt;P&gt;IF(&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; DAY(Data[Given Date])&amp;lt;=15,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; DATE(YEAE(Data[Given Date]), MONTH(Data[Given Date]),15),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ENDOFMONTH(Data[Given Date])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 22:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904843#M94731</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-14T22:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom date column based on another date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904870#M94734</link>
      <description>&lt;P&gt;Hi by using this formula I get all the dates with 15. But the endofmonth returns the same date as in the given column.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 23:05:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904870#M94734</guid>
      <dc:creator>Vatz8</dc:creator>
      <dc:date>2022-11-14T23:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom date column based on another date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904880#M94736</link>
      <description>&lt;P&gt;please try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Output Date =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;IF(&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DAY(&lt;SPAN&gt;Data[Given Date]&lt;/SPAN&gt;)&amp;lt;=15,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DATE(YEAE(Data[Given Date]), MONTH(&lt;SPAN&gt;Data[Given Date]&lt;/SPAN&gt;),15),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EOMONTH(Data[Given Date],0)&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Nov 2022 23:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-custom-date-column-based-on-another-date/m-p/2904880#M94736</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-14T23:12:18Z</dc:date>
    </item>
  </channel>
</rss>

