<?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: Relative date filtering including future dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2992408#M100723</link>
    <description>&lt;P&gt;I was facing a similar issue and couldn't find a solution. Your suggestion is a great workaround. Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 01:03:57 GMT</pubDate>
    <dc:creator>mayasandler</dc:creator>
    <dc:date>2022-12-29T01:03:57Z</dc:date>
    <item>
      <title>Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2401446#M62862</link>
      <description>&lt;P&gt;Hi, I am trying to dynamically filter a date which includes future dates as well. For Ex. For March 2022 I need a query which looks at the previous 12 months and the next 12 months (March2021-March2022(current) - March 2023. I tried using the relative date filter in Power BI but there is not 'between' option that could give me the above desired result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also Is there a Analytical pane line I can conditionally format (attached image) where I could code the lines as dashed after the current date on the lines on the y-axis. I tried to create it I was only able to shade the area in the x-axis line. Any help is greatly appreciated.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 20:52:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2401446#M62862</guid>
      <dc:creator>sridharpolina</dc:creator>
      <dc:date>2022-03-17T20:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2403204#M62981</link>
      <description>&lt;P&gt;You can achieve a solid+dashed appearance by stitching two measures together so that one (past data) stops where the other (future data) begins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sanitized sample data that fully covers your issue.&lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 11:57:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2403204#M62981</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-18T11:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2403717#M63030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input regarding the dasheded line that worked. For the in between dates I am currently applying a manual filter as shown in the image to filter the date to show the view 'past 4 quarters &amp;gt; Current Date &amp;lt; future 4 quarters but i need to dynamically change the quarter based on current date instead of being a static filter. Attached is the manual filter I applied and a sample dataset.&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 13:27:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2403717#M63030</guid>
      <dc:creator>sridharpolina</dc:creator>
      <dc:date>2022-03-22T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2406851#M63236</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;I included a sample file via the link. Please let me know if that works for writing the DAX query.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:09:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2406851#M63236</guid>
      <dc:creator>sridharpolina</dc:creator>
      <dc:date>2022-03-21T14:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2407024#M63249</link>
      <description>&lt;P&gt;You could add a column to your date table for filtering purposes, something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Within 24 month window =
var startDate = EOMONTH( TODAY(), -13) + 1
var endDate = EOMONTH( TODAY(), 12 )
return IF( 'Date'[Date] &amp;gt;= startDate &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= endDate, 1, 0)&lt;/LI-CODE&gt;&lt;P&gt;then add that filter to your visuals&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2407024#M63249</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-21T15:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2992408#M100723</link>
      <description>&lt;P&gt;I was facing a similar issue and couldn't find a solution. Your suggestion is a great workaround. Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 01:03:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/2992408#M100723</guid>
      <dc:creator>mayasandler</dc:creator>
      <dc:date>2022-12-29T01:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date filtering including future dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/3459600#M131944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the proposed solution does not work for me as I am calculating&amp;nbsp;moving/rollings averages and % change versus historical dates/averages with measures using data on dates well before the period I want to ultimately visualise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I apply the proposed filter on the visual, the measures are not calculated correctly or at all as none of the historical data is taken into account.&lt;/P&gt;&lt;P&gt;I need to differentiate between the calculation of the measures and the visualisation.&lt;/P&gt;&lt;P&gt;Does anyone have a work-around?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 13:49:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-filtering-including-future-dates/m-p/3459600#M131944</guid>
      <dc:creator>s0174804</dc:creator>
      <dc:date>2023-10-04T13:49:22Z</dc:date>
    </item>
  </channel>
</rss>

