<?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: DAX Time Intelligence based on current date ignoring date slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587267#M31812</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17198" data-lia-user-login="littlemojopuppy" class="lia-mention lia-mention-user"&gt;littlemojopuppy&lt;/a&gt; , I have carefully, replied to portion you have not answered. Please check Even I refer to last post "Formula you can check in last reply"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270902" data-lia-user-login="DIACHROMA" class="lia-mention lia-mention-user"&gt;DIACHROMA&lt;/a&gt; , I only replied for Selection issue. "&lt;/P&gt;
&lt;P&gt;Without having to manually select the months in a slicer.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The idea is that users don't need to update the slicer month every month.&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please carefully read what I replied.&amp;nbsp; There is not overplap with your answer. There is no BOT here. &lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 03:51:50 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-01-08T03:51:50Z</dc:date>
    <item>
      <title>DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1586860#M31787</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had trouble with some metrics to calculate my sales across multiple time periods which will be calculated based on the current date, disregarding date filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to filter my [Sales Amount] measure according to the predefined periods below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last month&lt;BR /&gt;Past year&lt;BR /&gt;YTD&lt;BR /&gt;P3M&lt;BR /&gt;P6M&lt;BR /&gt;P12M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without having to manually select the months in a slicer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The idea is that users don't need to update the slicer month every month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pauline&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 20:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1586860#M31787</guid>
      <dc:creator>DIACHROMA</dc:creator>
      <dc:date>2021-01-07T20:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587037#M31799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270902" data-lia-user-login="DIACHROMA" class="lia-mention lia-mention-user"&gt;DIACHROMA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try these out&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Last Month = 
CALCULATE(
	[Sales Amount],
	PREVIOUSMONTH('Date'[Date])
)

Past Year =
CALCULATE(
	[Sales Amount],
	PREVIOUSYEAR('Date'[Date])
)

YTD =
TOTALYTD(
	[Sales Amount],
	'Date'[Date]
)

P3M =
CALCULATE(
	[Sales Amount],
	DATESINPERIOD(
		'Date'[Date],
		EOMONTH(TODAY(), -1),
		-3,
		MONTH
	)
)

P6M =
CALCULATE(
	[Sales Amount],
	DATESINPERIOD(
		'Date'[Date],
		EOMONTH(TODAY(), -1),
		-6,
		MONTH
	)
)

P12M =
CALCULATE(
	[Sales Amount],
	DATESINPERIOD(
		'Date'[Date],
		EOMONTH(TODAY(), -1),
		-12,
		MONTH
	)
)&lt;/LI-CODE&gt;&lt;P&gt;This assumes you have a date table named "Date" and the date field in it is named "Date"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 23:15:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587037#M31799</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-07T23:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587149#M31804</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270902" data-lia-user-login="DIACHROMA" class="lia-mention lia-mention-user"&gt;DIACHROMA&lt;/a&gt; , To answer your question without selecting a month in slicer.&lt;/P&gt;
&lt;P&gt;You have two approches&lt;/P&gt;
&lt;P&gt;1. You date table should end at max date of you fact or Today //Calendar/date table is must for time intelligence&amp;nbsp; -&lt;/P&gt;
&lt;P&gt;example : calendar(date(2017,01,01), today())&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;calendar(date(2017,01,01), Max(Table[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also dicussed same in deatils Why TI fails - &lt;A href="https://www.youtube.com/watch?v=OBf0rjpp5Hw" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=OBf0rjpp5Hw&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or you create a column&amp;nbsp; (one of two and select this month or current month and save that&amp;nbsp; -&lt;A href="https://www.youtube.com/watch?v=hfn05preQYA" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=hfn05preQYA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Month Type = Switch( True(),&lt;BR /&gt;eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0),"This Month" ,&lt;BR /&gt;Format([Date],"MMM-YYYY")&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Month Type = Switch( True(),&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0),"Current Month" ,&lt;BR /&gt;Format([Date],"MMM-YYYY")&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formula you can check in last reply&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 01:45:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587149#M31804</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-08T01:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587257#M31810</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270902" data-lia-user-login="DIACHROMA" class="lia-mention lia-mention-user"&gt;DIACHROMA&lt;/a&gt;&amp;nbsp;The sad truth is that&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;employs a bot to respond to people asking questions. &amp;nbsp;Almost random answers based on keywords in your question. &amp;nbsp;I don't...I actually try to help people instead of padding stats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I offered solutions that I think will work (despite the limited info provided). &amp;nbsp;If they don't, will work to figure them out.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 03:30:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587257#M31810</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T03:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587267#M31812</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17198" data-lia-user-login="littlemojopuppy" class="lia-mention lia-mention-user"&gt;littlemojopuppy&lt;/a&gt; , I have carefully, replied to portion you have not answered. Please check Even I refer to last post "Formula you can check in last reply"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270902" data-lia-user-login="DIACHROMA" class="lia-mention lia-mention-user"&gt;DIACHROMA&lt;/a&gt; , I only replied for Selection issue. "&lt;/P&gt;
&lt;P&gt;Without having to manually select the months in a slicer.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The idea is that users don't need to update the slicer month every month.&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please carefully read what I replied.&amp;nbsp; There is not overplap with your answer. There is no BOT here. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 03:51:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587267#M31812</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-08T03:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587274#M31815</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;you have carefully, replied to nothing. &amp;nbsp;You offer nothing new to solutions and just try to poach stats.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 03:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587274#M31815</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T03:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587276#M31816</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17198" data-lia-user-login="littlemojopuppy" class="lia-mention lia-mention-user"&gt;littlemojopuppy&lt;/a&gt; , I disagree. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 04:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587276#M31816</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-08T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence based on current date ignoring date slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587279#M31817</link>
      <description>&lt;P&gt;Of course &lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 04:17:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence-based-on-current-date-ignoring-date/m-p/1587279#M31817</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T04:17:07Z</dc:date>
    </item>
  </channel>
</rss>

