<?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: Date Slicer in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Date-Slicer/m-p/3007805#M40631</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/482677"&gt;@LearnPowerBIAS&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#1, AFAIK, slicer does not support setting default values. You can try to create a custom table based on calendar function and use today function as end date. Then you can use new table date field as source of slicer, and it will show the today's date as the slicer end date.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/calendar-function-dax" target="_blank"&gt;CALENDAR function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#2, In fact, the slicer not able to affect the report generate. I'd like to suggest you add query parameters and use them to filter the backend query tables and saving the report as the template. After these steps, you can modify the query parameters to generate reports with different ranges.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/" target="_blank"&gt;Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 01:44:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-09T01:44:47Z</dc:date>
    <item>
      <title>Date Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-Slicer/m-p/3006307#M40620</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have 2 questions:&lt;/P&gt;&lt;P&gt;1. How to show fiscal year (Eg. 09/01/2022) as start date and CURRENT date as End date in date slicer?&lt;/P&gt;&lt;P&gt;2. I have another date slicer where I should not show the Between values if they open the report. (Basically the slicer date should be empty, the user need to type the date to generate the report).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 17:54:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-Slicer/m-p/3006307#M40620</guid>
      <dc:creator>LearnPowerBIAS</dc:creator>
      <dc:date>2023-01-06T17:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-Slicer/m-p/3007805#M40631</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/482677"&gt;@LearnPowerBIAS&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#1, AFAIK, slicer does not support setting default values. You can try to create a custom table based on calendar function and use today function as end date. Then you can use new table date field as source of slicer, and it will show the today's date as the slicer end date.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/calendar-function-dax" target="_blank"&gt;CALENDAR function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#2, In fact, the slicer not able to affect the report generate. I'd like to suggest you add query parameters and use them to filter the backend query tables and saving the report as the template. After these steps, you can modify the query parameters to generate reports with different ranges.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/" target="_blank"&gt;Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 01:44:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-Slicer/m-p/3007805#M40631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-09T01:44:47Z</dc:date>
    </item>
  </channel>
</rss>

