<?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 filter on all of the past till end of this month? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264923#M169028</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568402" data-lia-user-login="ManonNL" class="lia-mention lia-mention-user"&gt;ManonNL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then it should be like:&lt;/P&gt;
&lt;DIV&gt;before the end of this month =&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;IF (&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OR(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;[Date]&amp;gt;EOMONTH(TODAY(), 0),&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK(&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"No", "Yes"&lt;/DIV&gt;
&lt;DIV&gt;)&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt; &lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what&amp;nbsp;&lt;SPAN&gt;mark_endicott proposed shall also work. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 05:25:21 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2024-10-31T05:25:21Z</dc:date>
    <item>
      <title>How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264064#M169000</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone can help me, since I'm not the best (yet..) in combining formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need to filter a date column in a visual on all dates untill end of the current month. It is not possible to use a simple filter option, since the most accurate option is to choose recent months untill today, but then I don't have all of the month. So, I need to write a measure/calculated column for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't matter if it is a calculated column with yes/no or a measure with a certain value that I can use in my visual filtering. As long as I can filter my visual based on the past untill end of this month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look forward to responses.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Manon&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 14:36:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264064#M169000</guid>
      <dc:creator>ManonNL</dc:creator>
      <dc:date>2024-10-30T14:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264080#M169002</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568402" data-lia-user-login="ManonNL" class="lia-mention lia-mention-user"&gt;ManonNL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may add a calculated column like:&lt;/P&gt;
&lt;DIV&gt;before the end of this month =&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;IF (&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;[Date]&amp;lt;=EOMONTH(TODAY(), 0),&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;"Yes", "No"&lt;/DIV&gt;
&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Oct 2024 14:42:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264080#M169002</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-10-30T14:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264097#M169003</link>
      <description>&lt;P&gt;Thank you so much! It almost helps entirely, but blank values give "Yes" now. Do you know what I can add to make blank values No?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 14:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264097#M169003</guid>
      <dc:creator>ManonNL</dc:creator>
      <dc:date>2024-10-30T14:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264130#M169005</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568402" data-lia-user-login="ManonNL" class="lia-mention lia-mention-user"&gt;ManonNL&lt;/a&gt;&amp;nbsp;- You can fix the blank issue easily with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SWITCH( TRUE(),
ISBLANK( [Date] ), "No",
[Date]&amp;lt;=EOMONTH(TODAY(), 0),
   "Yes", "No"
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this works, please accept as the solution, it helps with visibility for those with the same problem.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 15:04:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264130#M169005</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-10-30T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264206#M169008</link>
      <description>&lt;P&gt;Hay&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568402" data-lia-user-login="ManonNL" class="lia-mention lia-mention-user"&gt;ManonNL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you have a date table created in the Query Editor with M Code then you can add a column in to the table like this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= if Date.IsInCurrentMonth([Date]) then "Current Month" 
else if Date.From([Date]) &amp;lt; Date.From(DateTime.LocalNow()) then "Previous Month" 
else "Future Month"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Then use this field in date table as a filter on your visual.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 15:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264206#M169008</guid>
      <dc:creator>DemoFour</dc:creator>
      <dc:date>2024-10-30T15:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264923#M169028</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568402" data-lia-user-login="ManonNL" class="lia-mention lia-mention-user"&gt;ManonNL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then it should be like:&lt;/P&gt;
&lt;DIV&gt;before the end of this month =&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;IF (&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OR(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;[Date]&amp;gt;EOMONTH(TODAY(), 0),&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK(&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"No", "Yes"&lt;/DIV&gt;
&lt;DIV&gt;)&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt; &lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what&amp;nbsp;&lt;SPAN&gt;mark_endicott proposed shall also work. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 05:25:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4264923#M169028</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-10-31T05:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter on all of the past till end of this month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4265376#M169044</link>
      <description>&lt;P&gt;My date column was a calculated column. But thanks for your response, I'm sure this will come in handy for other cases.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 10:24:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-on-all-of-the-past-till-end-of-this-month/m-p/4265376#M169044</guid>
      <dc:creator>ManonNL</dc:creator>
      <dc:date>2024-10-31T10:24:34Z</dc:date>
    </item>
  </channel>
</rss>

