Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS using calendar to select date parameters

I have a basic report that has 7 fields.

I want the data to be parameter driven.

StartDate and EndDate are the fields I want the user to choose before the report is rendered.

If you see the first image, I have laid out the report and created a StartDate & EndDate parameters, and 2 text boxes with [@START_DATE] & [@END_DATE] as the values. I have set their field type to Number>Date. I expected that when I ran the report I would be given two small calander windows where I could select a start date and an end date. I have seen this done in other reports, so I know this is possible. But what I see when I run the report is in image2.

I have tried putting in the Where clause:

where (START_DATE IN (@START_DATE)) AND (END_DATE IN (@END_DATE))

But this just allows me to manually type the date I want in. I need a calendar display.

Any ideas?

enter image description here

enter image description here

like image 236
JsonStatham Avatar asked Dec 05 '25 08:12

JsonStatham


1 Answers

You need to set the datatype of the parameter as Date/Time. Do a right click on the parameter of StartDate in your case and you will see the property as below

enter image description here

like image 131
bhupendra patel Avatar answered Dec 07 '25 21:12

bhupendra patel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!