<?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 How can I make the filter default to the latest month after new data is loaded? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4176962#M37077</link>
    <description>&lt;P&gt;Example: The filter displays month data.&lt;BR /&gt;Assume the current month is August, and I archive the file by selecting August.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;On 9/1, new data will be loaded, allowing the filter to select&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, as time progresses, I have to manually select the month every time I use the report.&lt;BR /&gt;Is it possible to preset the filter to default to the current month or the latest available month?&lt;BR /&gt;&lt;BR /&gt;Can accept default on startup, or default after automatic refresh, other alternatives that can simulate automatic default are also available&lt;BR /&gt;&lt;BR /&gt;PS:&lt;BR /&gt;1.After defaulting to the current month, you must also be able to select past months, so it is not possible to preset this month on the page.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2.The POWER BI service has the function of storing user records, but this is not available in the POWER BI report server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 07:05:17 GMT</pubDate>
    <dc:creator>KevinsKanban</dc:creator>
    <dc:date>2024-09-26T07:05:17Z</dc:date>
    <item>
      <title>How can I make the filter default to the latest month after new data is loaded?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4176962#M37077</link>
      <description>&lt;P&gt;Example: The filter displays month data.&lt;BR /&gt;Assume the current month is August, and I archive the file by selecting August.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;On 9/1, new data will be loaded, allowing the filter to select&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, as time progresses, I have to manually select the month every time I use the report.&lt;BR /&gt;Is it possible to preset the filter to default to the current month or the latest available month?&lt;BR /&gt;&lt;BR /&gt;Can accept default on startup, or default after automatic refresh, other alternatives that can simulate automatic default are also available&lt;BR /&gt;&lt;BR /&gt;PS:&lt;BR /&gt;1.After defaulting to the current month, you must also be able to select past months, so it is not possible to preset this month on the page.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2.The POWER BI service has the function of storing user records, but this is not available in the POWER BI report server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 07:05:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4176962#M37077</guid>
      <dc:creator>KevinsKanban</dc:creator>
      <dc:date>2024-09-26T07:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the filter default to the latest month after new data is loaded?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4176995#M37081</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="771633" data-lia-user-login="KevinsKanban" class="lia-mention lia-mention-user"&gt;KevinsKanban&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You can create DAX(new column) which gives current month and use in slicer. Also you can customize it based on current year too. But you need to clean filter pane for DocDate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Current Month Flag=&lt;BR /&gt;IF(MONTH(TODAY()) = MONTH(Dimdate[date]),&lt;BR /&gt;"Current Month",&lt;BR /&gt;Dimdate[date]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;BR /&gt;Gökberk Uzuntaş&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":pushpin:"&gt;📌&lt;/span&gt; If this post helps, then please consider &lt;STRONG&gt;Accepting it as a solution&lt;/STRONG&gt; and giving &lt;STRONG&gt;Kudos&lt;/STRONG&gt; — it helps other members find answers faster!&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; &lt;STRONG&gt;Stay Connected:&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":blue_book:"&gt;📘&lt;/span&gt; &lt;A href="https://medium.com/@uzuntasgokberk" target="_blank" rel="noopener"&gt;Medium&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":television:"&gt;📺&lt;/span&gt; &lt;A href="https://youtube.com/@uzuntasgokberk" target="_blank" rel="noopener"&gt;YouTube&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":briefcase:"&gt;💼&lt;/span&gt; &lt;A href="https://linkedin.com/in/uzuntasgokberk" target="_blank" rel="noopener"&gt;LinkedIn&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":camera:"&gt;📷&lt;/span&gt; &lt;A href="https://instagram.com/developeruzuntasgokberk" target="_blank" rel="noopener"&gt;Instagram&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":bird:"&gt;🐦&lt;/span&gt; &lt;A href="https://x.com/uzuntasgokberk" target="_blank" rel="noopener"&gt;X&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":alien:"&gt;👽&lt;/span&gt; &lt;A href="https://reddit.com/user/uzuntasgokberk" target="_blank" rel="noopener"&gt;Reddit&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":globe_with_meridians:"&gt;🌐&lt;/span&gt; &lt;A href="https://uzuntasgokberk.com" target="_blank" rel="noopener"&gt;Website&lt;/A&gt; |&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":musical_note:"&gt;🎵&lt;/span&gt; &lt;A href="https://tiktok.com/@uzuntasgokberk" target="_blank" rel="noopener"&gt;TikTok&lt;/A&gt; |&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 19:39:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4176995#M37081</guid>
      <dc:creator>uzuntasgokberk</dc:creator>
      <dc:date>2025-07-14T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the filter default to the latest month after new data is loaded?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4181943#M37182</link>
      <description>&lt;P&gt;Your solution is great&amp;nbsp;uzuntasgokberk&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="771633" data-lia-user-login="KevinsKanban" class="lia-mention lia-mention-user"&gt;KevinsKanban&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my test, I have the following sample data in my database:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I connected it in Power BI desktop RS and created a date table using the following DAX expression:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DateTable = CALENDAR(MIN('TestSlicer'[Date]),MAX('TestSlicer'[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I created a calculated column using the following DAX expression:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Month = IF(FORMAT('DateTable'[Date],"MM")=FORMAT(MAX('DateTable'[Date]),"MM"),"Latest Month",FORMAT('DateTable'[Date],"MM"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Use this calculated column in a slicer:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In the Report server, the latest month is selected by default:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;When I update the data and allow refresh on the Report server, the slicer will default to updating the month corresponding to the maximum date:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Jianpeng &lt;/SPAN&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 07:20:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4181943#M37182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-27T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the filter default to the latest month after new data is loaded?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4206356#M37723</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help, this method is very effective, I should have thought of&lt;BR /&gt;I also tested whether I could make "last Month" a variable so that it would always display this month.&lt;BR /&gt;But unfortunately, the values ​​checked by the filter must be exactly the same. He cannot check a variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:35:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-can-I-make-the-filter-default-to-the-latest-month-after-new/m-p/4206356#M37723</guid>
      <dc:creator>KevinsKanban</dc:creator>
      <dc:date>2024-10-01T08:35:09Z</dc:date>
    </item>
  </channel>
</rss>

