<?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: Make Date in the Slicer temporary and have the ability change it outside the parameters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1615841#M32562</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="281472" data-lia-user-login="Thenewguy" class="lia-mention lia-mention-user"&gt;Thenewguy&lt;/a&gt; , You can not initialize the date columns&amp;nbsp; &lt;/P&gt;
&lt;P&gt;But you can have column like this in your date table&amp;nbsp; and use it as filter&lt;/P&gt;
&lt;P&gt;&lt;BR /&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) &amp;amp;&amp;amp; [Date] &amp;lt;=Today() ,"This Month Till Date" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0) &amp;amp;&amp;amp; [Date] &amp;gt;Today() ,"Rest of the 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;refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=hfn05preQYA" target="_blank"&gt;https://www.youtube.com/watch?v=hfn05preQYA&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 05:52:04 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-01-22T05:52:04Z</dc:date>
    <item>
      <title>Make Date in the Slicer temporary and have the ability change it outside the parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1615096#M32513</link>
      <description>&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;I am using the Between format for the Date slicer. What i need is to set the end date of the date range to Today's date and the remainder of the month.&amp;nbsp; So when everytime i open the dashboard ,it should show - Todays (1/20/2020) and the remainder of the month (1/1/2020). I also want to also want the ability to filter outside these dates.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:19:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1615096#M32513</guid>
      <dc:creator>Thenewguy</dc:creator>
      <dc:date>2021-01-21T20:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Make Date in the Slicer temporary and have the ability change it outside the parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1615841#M32562</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="281472" data-lia-user-login="Thenewguy" class="lia-mention lia-mention-user"&gt;Thenewguy&lt;/a&gt; , You can not initialize the date columns&amp;nbsp; &lt;/P&gt;
&lt;P&gt;But you can have column like this in your date table&amp;nbsp; and use it as filter&lt;/P&gt;
&lt;P&gt;&lt;BR /&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) &amp;amp;&amp;amp; [Date] &amp;lt;=Today() ,"This Month Till Date" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0) &amp;amp;&amp;amp; [Date] &amp;gt;Today() ,"Rest of the 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;refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=hfn05preQYA" target="_blank"&gt;https://www.youtube.com/watch?v=hfn05preQYA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 05:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1615841#M32562</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-22T05:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Make Date in the Slicer temporary and have the ability change it outside the parameters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1632591#M33080</link>
      <description>&lt;P&gt;This works but if the date slicer is filtered on prior months, the "&lt;SPAN&gt;This Month Till Date" option disappears. I need that option to be seen at all times. Thank you for you help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 20:33:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-Date-in-the-Slicer-temporary-and-have-the-ability-change-it/m-p/1632591#M33080</guid>
      <dc:creator>Thenewguy</dc:creator>
      <dc:date>2021-01-29T20:33:00Z</dc:date>
    </item>
  </channel>
</rss>

