<?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 Filter month year column to exclude past dates from slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1480978#M28256</link>
    <description>&lt;P&gt;I have a dates key table that runs from Jan 2018 - Jan 2021.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a month year column (Text Format) so it doesn't display data past today:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;On or Before Today = 'DimDate'[DateS] &amp;lt;= EOMONTH(TODAY(),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there a way to have a slicer's &lt;STRONG&gt;&lt;U&gt;past&lt;/U&gt;&lt;/STRONG&gt; dates respected when it changes?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;e.g. When I slice the last 24 months I get this&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However when I slice the last 2 months I still get the begining dates of slicer:&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Something along the lines of this???&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;On or Before Today = ALLSELECTED('DimDate Sort'[Dates]) &amp;gt;= 'DimDate'[DateS] &amp;lt;= EOMONTH(TODAY(),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*CAVEAT - I have a &lt;STRONG&gt;DimDate&lt;/STRONG&gt; table for counts and a &lt;STRONG&gt;DimDate Sort&lt;/STRONG&gt; to build relationships off in case you're wondering&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 08 Nov 2020 11:54:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-08T11:54:34Z</dc:date>
    <item>
      <title>Filter month year column to exclude past dates from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1480978#M28256</link>
      <description>&lt;P&gt;I have a dates key table that runs from Jan 2018 - Jan 2021.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a month year column (Text Format) so it doesn't display data past today:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;On or Before Today = 'DimDate'[DateS] &amp;lt;= EOMONTH(TODAY(),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there a way to have a slicer's &lt;STRONG&gt;&lt;U&gt;past&lt;/U&gt;&lt;/STRONG&gt; dates respected when it changes?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;e.g. When I slice the last 24 months I get this&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However when I slice the last 2 months I still get the begining dates of slicer:&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Something along the lines of this???&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;On or Before Today = ALLSELECTED('DimDate Sort'[Dates]) &amp;gt;= 'DimDate'[DateS] &amp;lt;= EOMONTH(TODAY(),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*CAVEAT - I have a &lt;STRONG&gt;DimDate&lt;/STRONG&gt; table for counts and a &lt;STRONG&gt;DimDate Sort&lt;/STRONG&gt; to build relationships off in case you're wondering&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Nov 2020 11:54:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1480978#M28256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-08T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter month year column to exclude past dates from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481042#M28259</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Relative Date slicer always takes the current date to calculate the dates, that cannot be changed.&lt;BR /&gt;&lt;BR /&gt;What is your expected output when you select a range?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 13:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481042#M28259</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-11-08T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter month year column to exclude past dates from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481074#M28261</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp; I'm hoping to get an expected output like this if I cast the slicer date range at last 2 months:&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 13:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481074#M28261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-08T13:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter month year column to exclude past dates from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481076#M28262</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not sure how you have set up your model and the relationships. Also, The measure you are using can be another point to check. If you could share a sample PBIX file, it's possible to identify the cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 13:42:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481076#M28262</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-11-08T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter month year column to exclude past dates from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481554#M28293</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Following this video, if you want to select date/month and then have rolling month.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=duMSovyosXE" target="_blank"&gt;https://www.youtube.com/watch?v=duMSovyosXE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also refer this for List of value&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-30/m-p/1284966#M561629" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-30/m-p/1284966#M561629&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 02:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-month-year-column-to-exclude-past-dates-from-slicer/m-p/1481554#M28293</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-09T02:31:35Z</dc:date>
    </item>
  </channel>
</rss>

