<?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 Filter to start showing data on a certain day of the month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3450566#M131430</link>
    <description>&lt;P&gt;Hi I have the following Calendar table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My goal here is to have a 1 or 0 filter in a DAX column to show when the "start of month" is for reporting purposes (numbers don't become official&amp;nbsp;until a certain day of the month).&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Today is 9/27/2023 it should return a 0 TODAY. All dates in current month should return a 0 until the 7th of the following month is hit. So in this case when the date hits 10/7/2023 all dates in September should flip to a 1 while keeping 10/1-10/7 a 0. This should loop for all future months. All previous dates should return a 1. In this case 8/1/2023-8/31/2023 should return a 1 TODAY and when the next month hits.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 21:14:34 GMT</pubDate>
    <dc:creator>NickDSL</dc:creator>
    <dc:date>2023-09-27T21:14:34Z</dc:date>
    <item>
      <title>Filter to start showing data on a certain day of the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3450566#M131430</link>
      <description>&lt;P&gt;Hi I have the following Calendar table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My goal here is to have a 1 or 0 filter in a DAX column to show when the "start of month" is for reporting purposes (numbers don't become official&amp;nbsp;until a certain day of the month).&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Today is 9/27/2023 it should return a 0 TODAY. All dates in current month should return a 0 until the 7th of the following month is hit. So in this case when the date hits 10/7/2023 all dates in September should flip to a 1 while keeping 10/1-10/7 a 0. This should loop for all future months. All previous dates should return a 1. In this case 8/1/2023-8/31/2023 should return a 1 TODAY and when the next month hits.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 21:14:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3450566#M131430</guid>
      <dc:creator>NickDSL</dc:creator>
      <dc:date>2023-09-27T21:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter to start showing data on a certain day of the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3450899#M131449</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You can try the following measure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ReportingWindowFlag = &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR CurrentDate = TODAY() &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR StartOfMonth = DATE(YEAR(CurrentDate), MONTH(CurrentDate), 1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR EndOfReportingWindow = EDATE(StartOfMonth, 1) + 7 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RETURN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IF(StartOfMonth &amp;lt;= CurrentDate &amp;amp;&amp;amp; CurrentDate &amp;lt;= EndOfReportingWindow, 1, 0)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 03:10:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3450899#M131449</guid>
      <dc:creator>nirali_arora</dc:creator>
      <dc:date>2023-09-28T03:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filter to start showing data on a certain day of the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3451497#M131495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="615051" data-lia-user-login="nirali_arora" class="lia-mention lia-mention-user"&gt;nirali_arora&lt;/a&gt;. This solution does not work. It returns a 1 for all date values even today which should be a 0. I am looking to make a "Helper Column" not a measure. This solution does not work when implemented as either.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 10:37:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-to-start-showing-data-on-a-certain-day-of-the-month/m-p/3451497#M131495</guid>
      <dc:creator>NickDSL</dc:creator>
      <dc:date>2023-09-28T10:37:24Z</dc:date>
    </item>
  </channel>
</rss>

