<?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 Parameter default issue in Report Builder in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1881094#M19587</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the report to display today's data once the user clicks on the report link. Is that possible with Paginated report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the users be allowed to pick a parameter and execute for any other date.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's definitely possible and I can't see why it's not working this way now. As&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;suggested, have you checked the available values setting. I often leave this blank for datetime parameters. But if it was using a dataset that returned text values instead of datetime values you would get an error like you first reported. And if it was returning a set of dates that did not include today's date the parameter would be blank when you run the report as the default was not one of the allowed values&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 02:23:36 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2021-06-04T02:23:36Z</dc:date>
    <item>
      <title>Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1871177#M19505</link>
      <description>&lt;P&gt;New to paginated reporting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect to an existing dataset with calendar table. I have used the Date field( date data type)from calendar as a filter and trying to use the&amp;nbsp; parameter.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried to default the date to today's date in the report parameter by using TODAY(). That generated error as datatype mismatch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i set the date&amp;nbsp; with default as today's date in paramter?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Sat, 29 May 2021 20:47:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1871177#M19505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-29T20:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1871759#M19509</link>
      <description>&lt;P&gt;In the "General" tab for the parameter did you make sure to set the data type of the parameter to datetime ?&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 00:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1871759#M19509</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-05-31T00:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1873231#M19525</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. Data type is set to datetime.&amp;nbsp; My date field in calendar is set as the date as the dataset is used in many other reports and i cannot change that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is&lt;/P&gt;&lt;P&gt;1. Allow the selection of any date - I am able to do that&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Default is to be set to today - Having trouble in setting Today() in default expression as error says type mismatch. I tried setting as text, but did not get default value&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:52:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1873231#M19525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-31T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1873730#M19529</link>
      <description>&lt;P&gt;At what point does this error appear? I use default of TODAY() or TODAY()-1 in lots of our reports and it works fine although usually I wrap it in CDATE() to strip off the time portion.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the report work if you pick a different date? If not this would suggest that the issue is with the parameter in your query, not with the default value.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 23:13:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1873730#M19529</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-05-31T23:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1878706#M19566</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what i did.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My query generated is below&amp;nbsp; based on my dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EVALUATE SUMMARIZECOLUMNS('OrderHeader'[Customer PO],&lt;BR /&gt;'OrderHeader'[Order Number],&lt;BR /&gt;'OrderHeader'[Order Date],&lt;BR /&gt;RSCustomDaxFilter(@OrderHeaderOrderDate,EqualToCondition,[OrderHeader].[Order Date],DateTime))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add the Default value in Report Parameter&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selected - Specify Values. Clicked on expression and keyed in&amp;nbsp;=cdate(today())&lt;/P&gt;&lt;P&gt;But the value was showing blank. Is that the way it should behave? or did i mess up something. When i go in to Run View no defaults are shown.&amp;nbsp;&amp;nbsp;&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;</description>
      <pubDate>Wed, 02 Jun 2021 21:41:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1878706#M19566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-02T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1880183#M19576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you set available values for your parameter which is coming from another dataset then default value should be part of available values otherwise it will not show anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example&amp;nbsp; - If you have list of date for available values like 1/1/2020, 1/2/2020...... Then if you are using Today() then today's date should be part of available dataset result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:07:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1880183#M19576</guid>
      <dc:creator>Hariharan_R</dc:creator>
      <dc:date>2021-06-03T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1881061#M19586</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the report to display today's data once the user clicks on the report link. Is that possible with Paginated report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the users be allowed to pick a parameter and execute for any other date.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 01:53:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1881061#M19586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-04T01:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1881094#M19587</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the report to display today's data once the user clicks on the report link. Is that possible with Paginated report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the users be allowed to pick a parameter and execute for any other date.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's definitely possible and I can't see why it's not working this way now. As&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118918" data-lia-user-login="Hariharan_R" class="lia-mention lia-mention-user"&gt;Hariharan_R&lt;/a&gt;&amp;nbsp;suggested, have you checked the available values setting. I often leave this blank for datetime parameters. But if it was using a dataset that returned text values instead of datetime values you would get an error like you first reported. And if it was returning a set of dates that did not include today's date the parameter would be blank when you run the report as the default was not one of the allowed values&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 02:23:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/1881094#M19587</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-06-04T02:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date Parameter default issue in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/2944138#M27866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go to your Dataset Properties&lt;/P&gt;&lt;P&gt;then go to Parameter section&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;in paramter value write below expression&lt;BR /&gt;=Format(Parameters!CalendarDate.Value, "MM/dd/yyyy")&lt;BR /&gt;click ok and try to run report it will solved your issue.&lt;BR /&gt;Note;- you can change date format as you want.&lt;BR /&gt;&lt;BR /&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 09:23:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Date-Parameter-default-issue-in-Report-Builder/m-p/2944138#M27866</guid>
      <dc:creator>ashishg</dc:creator>
      <dc:date>2022-12-02T09:23:21Z</dc:date>
    </item>
  </channel>
</rss>

