<?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 that shows Next Month and Next 3 months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3447782#M131244</link>
    <description>&lt;P&gt;Use the filter pane.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 12:52:19 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-09-26T12:52:19Z</dc:date>
    <item>
      <title>Filter that shows Next Month and Next 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3441718#M130766</link>
      <description>&lt;P&gt;Hey Experts, Good Afternoon!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a filter where I can select either next month and then next 3 months, for example...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Todays date is 21/09/2023 to next month should show Octobers data, Next 3 months should show October, November, December.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See example table below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;21/10/2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BB&lt;/TD&gt;&lt;TD&gt;21/11/2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CC&lt;/TD&gt;&lt;TD&gt;21/12/2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DD&lt;/TD&gt;&lt;TD&gt;25/11/2023&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 14:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3441718#M130766</guid>
      <dc:creator>Ttaylor9870</dc:creator>
      <dc:date>2023-09-21T14:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filter that shows Next Month and Next 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3446980#M131171</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="415490" data-lia-user-login="Ttaylor9870" class="lia-mention lia-mention-user"&gt;Ttaylor9870&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can create a measure formula to use on 'visual level filter' to compare current row context date and system date to return flag, then you can use this flag as condition to filter correspond records based on current date.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;flag =
VAR currDate =
    MAX ( Table[Date] )
VAR _endDate =
    DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ) + 3, DAY ( TODAY () ) )
RETURN
    IF ( currDate &amp;gt;= TODAY () &amp;amp;&amp;amp; currDate &amp;lt;= _endDate, "Y", "N" )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://www.sqlbi.com/articles/applying-a-measure-filter-in-power-bi/" target="_blank"&gt;Applying a measure filter in Power BI - SQLBI&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regsards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 03:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3446980#M131171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-26T03:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter that shows Next Month and Next 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3447782#M131244</link>
      <description>&lt;P&gt;Use the filter pane.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 12:52:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-that-shows-Next-Month-and-Next-3-months/m-p/3447782#M131244</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-26T12:52:19Z</dc:date>
    </item>
  </channel>
</rss>

