<?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: Filter just for completed months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1204800#M19356</link>
    <description>&lt;P&gt;It won't work for fiscal months. I forgot about that part.&amp;nbsp; What is your logic to determine the fiscal month.&amp;nbsp; If you share it, I will try an alternate expression.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 22:38:56 GMT</pubDate>
    <dc:creator>mahoneypat</dc:creator>
    <dc:date>2020-07-06T22:38:56Z</dc:date>
    <item>
      <title>Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201898#M19235</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;I need to add a column to my calendar to filter in my views just for completed months.&lt;/P&gt;&lt;P&gt;The calendar I am using is a fiscal calendar like&lt;/P&gt;&lt;P&gt;Date - Fiscal Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone know any dax function to get a False/ True, of the date is within a completed fiscal month?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 13:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201898#M19235</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-05T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201906#M19237</link>
      <description>What is the definition of a completed month?</description>
      <pubDate>Sun, 05 Jul 2020 13:49:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201906#M19237</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-07-05T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201921#M19242</link>
      <description>&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;A month is completed when every day is in the past&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 14:26:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1201921#M19242</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-05T14:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1202228#M19266</link>
      <description>&lt;P&gt;This should get your desired result in a calculated column (this example is on the Date table).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Month Complete = IF(EOMONTH('Date'[Date],0)&amp;lt;=TODAY(), "Yes", "No")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;If this works for you, please mark it as the solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 05 Jul 2020 23:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1202228#M19266</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-07-05T23:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1204283#M19328</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt;&amp;nbsp;Thanks a lot! Are you sure this works with a fiscal month with individual end dates for each month (mentioned in starting post)?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 16:13:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1204283#M19328</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-06T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1204800#M19356</link>
      <description>&lt;P&gt;It won't work for fiscal months. I forgot about that part.&amp;nbsp; What is your logic to determine the fiscal month.&amp;nbsp; If you share it, I will try an alternate expression.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 22:38:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1204800#M19356</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-07-06T22:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1205832#M19363</link>
      <description>&lt;LI-CODE lang="csharp"&gt;// Let's say that FiscalMonthID is
// a unique identifier of a fiscal
// month in Calendar.

[Full Fiscal Month] = // calculated column
var __today = TODAY()
var __currentFiscalMonth = Calendar[FiscalMonthID]
var __allFiscalMonthDatesAreOK =
	ISEMPTY(
		FILTER(
			'Calendar',
			Calendar[FiscalMonthID] = __currentFiscalMonth
			&amp;amp;&amp;amp;
			Calendar[Date] &amp;gt; __today
		)
	)
RETURN
	__allFiscalMonthDatesAreOK&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 08:46:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1205832#M19363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-07T08:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1206375#M19380</link>
      <description>&lt;P&gt;The fiscal months are based on the fiscal weeks:&lt;/P&gt;&lt;P&gt;Week 1-4 = January&lt;/P&gt;&lt;P&gt;Week 5-8 = February&lt;/P&gt;&lt;P&gt;Week 9-13 = March&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure is:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR FiscalWeek =&lt;/SPAN&gt;&lt;SPAN&gt;WEEKNUM ( Date, 21 )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 12:18:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1206375#M19380</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2020-07-07T12:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1206748#M19392</link>
      <description>Just create a column where you'll store FiscalMonthID the way I indicated in the piece of code above and you'll be able to create the column. You should have FiscalMonthID in the table regardless.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Tue, 07 Jul 2020 14:40:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/1206748#M19392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-07T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/4022794#M158729</link>
      <description>&lt;P&gt;Perfect - very simple but does the job!!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:40:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/4022794#M158729</guid>
      <dc:creator>JezzatheGee</dc:creator>
      <dc:date>2024-07-03T11:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filter just for completed months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/4617778#M176726</link>
      <description>&lt;P&gt;&lt;SPAN&gt;That's really clever&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; Just one line to cater for end of month check, amazing!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 08:55:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-just-for-completed-months/m-p/4617778#M176726</guid>
      <dc:creator>SPillai</dc:creator>
      <dc:date>2025-03-20T08:55:09Z</dc:date>
    </item>
  </channel>
</rss>

