<?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 Special Date Filter Sort Inquiry in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4384725#M59208</link>
    <description>&lt;P&gt;I have a date filter in my power bi report.&amp;nbsp; The end-user wants it to display all dates, but only show data for one at a time due to the model.&amp;nbsp; The data refreshes daily so I cannot select most recent date.&amp;nbsp; I did the following which works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DateSlicer =&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[Max_Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"1-Most Recent Date"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This actually works.&amp;nbsp; I then take this new column and drop into the slicer.&amp;nbsp; The problem is when it converts to text.&amp;nbsp; We have a new text for Most Recent Date and then actual dates converted to text.&amp;nbsp; When I sort the slicer, Most recent date goes to the bottom of the slicer and the dates dont sort properly anyway.&amp;nbsp; Is there an easy way to have the end user have most recent date auto-selected with each refresh and sorted at top?&amp;nbsp; Bascially how do I use the above formula, then have it sort properly.&amp;nbsp; Any help much appreciated.&amp;nbsp; Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 16:00:19 GMT</pubDate>
    <dc:creator>common763</dc:creator>
    <dc:date>2025-01-28T16:00:19Z</dc:date>
    <item>
      <title>Special Date Filter Sort Inquiry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4384725#M59208</link>
      <description>&lt;P&gt;I have a date filter in my power bi report.&amp;nbsp; The end-user wants it to display all dates, but only show data for one at a time due to the model.&amp;nbsp; The data refreshes daily so I cannot select most recent date.&amp;nbsp; I did the following which works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DateSlicer =&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[Max_Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"1-Most Recent Date"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'TABLE'&lt;/SPAN&gt;&lt;SPAN&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This actually works.&amp;nbsp; I then take this new column and drop into the slicer.&amp;nbsp; The problem is when it converts to text.&amp;nbsp; We have a new text for Most Recent Date and then actual dates converted to text.&amp;nbsp; When I sort the slicer, Most recent date goes to the bottom of the slicer and the dates dont sort properly anyway.&amp;nbsp; Is there an easy way to have the end user have most recent date auto-selected with each refresh and sorted at top?&amp;nbsp; Bascially how do I use the above formula, then have it sort properly.&amp;nbsp; Any help much appreciated.&amp;nbsp; Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 16:00:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4384725#M59208</guid>
      <dc:creator>common763</dc:creator>
      <dc:date>2025-01-28T16:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Special Date Filter Sort Inquiry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4385164#M59220</link>
      <description>&lt;P&gt;instead of "1-" use " "&amp;nbsp; (a single space).&amp;nbsp; If Power BI gets cute and trims that, use any other character that comes before "1".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would also want to format your dates in sortable way, like "YYYY-MM-DD".&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 21:18:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4385164#M59220</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-01-28T21:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Special Date Filter Sort Inquiry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4386338#M59236</link>
      <description>&lt;P&gt;THe first part fixes the sort but now I have two different variant types in the column.&amp;nbsp; 1 is the 0-Most Recent which will automatically have the slicer adjusted to the recent day on refresh.&amp;nbsp; Then the dates are all text.&amp;nbsp; I cannot convert them in this column.&amp;nbsp; I just want an easy way for the data to refresh and have the slicer single select the most recent date on daily refresh.&amp;nbsp; The only way I saw this done was to give it a name like 0-Most Recent but now it is causing other issues.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:14:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4386338#M59236</guid>
      <dc:creator>common763</dc:creator>
      <dc:date>2025-01-29T14:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Special Date Filter Sort Inquiry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4386362#M59239</link>
      <description>&lt;P&gt;This can be closed.&amp;nbsp; This video explains it and was easier than I thought.&amp;nbsp; I left the column as is with TEXT format.&amp;nbsp; Then sorted by column in the formula by the actual date column.&amp;nbsp; Here is a vid explaining it.&amp;nbsp; Thanks for your help.&amp;nbsp; Appreciate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=VaJ10ilXp6Y" target="_blank"&gt;How to set a DATE SLICER to TODAY by default in Power BI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:32:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Special-Date-Filter-Sort-Inquiry/m-p/4386362#M59239</guid>
      <dc:creator>common763</dc:creator>
      <dc:date>2025-01-29T14:32:27Z</dc:date>
    </item>
  </channel>
</rss>

