For SSRS Parameter, How to show dates after a certain date in calendar instead of a drop down list? - reporting-services

When setting date range parameter for a SSRS report, I would like to show dates in calendar (like the attached picture below), while the calendar should have a earliest from date 2022-01-01 (which means once user click on the From Date calendar, it will not show dates earlier than 2022-01-01).
I'm not sure if this is possible?
I have tried to use a dataset to list dates after 2022-01-01, but this would turn #Fromdate into a drop down list instead of a calendar.
I'm really appreciate if any one could help. Thanks a lot!
Best Regards.

Related

Power BI Paginated Report - monthly parameter

I require your guidance for my needs.
I want to create a parameter based on month that will help me filter the data report based on the selected month parameter. Example if the parameter I choose is January then I want to put the filter on my datasets only the January.
Currently I create default parameter by get the first date and last date of the current month and previous month. I want to upgrade these parameter with just select the month.
Hope you all can get what I need.
Thank you in advance.
You have two options:
1- Create the parameter and enter the available values as a list manually
2- If you have a date table in your dataset, you can create a dataset that queries this table and returns the list of the months. You would then use this query as a source for your parameter

MS-Access database help needed

I am a beginner in using Access. In the past I used a database where I could select a beginning and ending date on a calendar, and the query would bring back all items that would "occur" during those dates. I would like to replicate that database.
The records would need to be pulled based on their frequency- for example I have items that occur on a monthly (on a certain date), weekly (on a certain day), bi-weekly (every other day of the week). (There are codes to represent this- for example PPBR would be every other Thursday; PPM23 would be the 23rd of each month; PPWT would be weekly every Tuesday). Like setting up a reoccurring appointment in outlook, these items would also continue for future dates so that I know when they need to occur next by just clicking on the calendar.
For example, on Tuesday June 23rd, all items that occur every other Tuesday, items for the 23rd and weekly on Tuesday should all be pulled into one report.
I have created a table for the main record info. I have also created a separate table listing all the variations of the frequency (code and day of week/date they occur) and have linked them.
I am stuck at this point as to how to create and incorporate the calendar function and would appreciate any assistance.
Thank you!
June7's comments direct you to ask a more focused question. I gather that you are simply asking how to incorporate "calendar functionality", but your detailed description muddles your intention.
Since you've create something like this before, I presume that the "calendar" you mean is simply the calendar-style date picker already available with the TextBox controls. In that case, you could add two unbound TextBox controls --one for the beginning date and one for the ending date-- and set the following properties in the Property Sheet:
Format: Short Date
Show Date Picker: for dates
After Update: [Event Procedure]
With the Show Date Picker property enabled, upon clicking inside the TextBox control a little Calendar icon is displayed. Clicking on that icon shows a pop-up date picker.
In the TextBox_AFterUpdate event handlers add code to update the Form's RecordSource with an appropriate query. (It would also be possible to refer to the TextBox values directly in a query, but your description of the date criteria sounds too complicated to handle in a single query directly.)

In SSRS how to Disable future dates after today in the date picker calendar

Could someone please help me out in this, on how do i freeze the future dates than the current date in the date picker calendar in SSRS date parameter.
By default, there is no way to disable the future dates for the Date pick calendar in SQL server reporting services. But, you can do something to validate the date parameter value before report rendered, if the date value beyonds now, a message is shown to prompt the users the date entered invalidated, otherwise, the report works normally based on the date parameter selected.
Read this thread http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/8736ed6d-27f8-49ce-bbfa-718f4f4daa45/ for some workarounds to achieve this.I recommad the 1st one of the ways provided by Lukasz Pawlowski. Please don't use the messbox way, which desn't work in web due to it is only supported in window form platform.

SSRS Chart Axis

I am self-teaching myself SSRS, but I can't figure out this issue. I am doing a bar chart that shows the number of cases by time group, the different time groups are on the x-axis and include "12AM-2AM", "2AM-4AM", etc. However depending on the day I choose (in the parameter), their is not a case for every time group and so SSRS is only showing those time groups with a case, but I would like it to show every time group from 12AM to llPM and just show 0 when their is no case for that time group. Any tips for this issue?
Thanks!
The simplest method is to alter the properties on the chart. There should be a custom attributes section. Set the 'EmptyPointValue' to 'zero' which should give you the chart that you are looking for.

How to create a Multiple date picker for a search form

I am quite a newbie to MS Access.I am working with a search form in MS Access and I want to create a date picker in which I can select multiple dates which will be an input for a Query that is used to search and display the results from my table for the records that have the selected dates. I did some research on this,however I was unable to find out a feasible solution for my problem.
As I see there are only 2 ways in which this can be done.The first way is that is using two date pickers one for from date and other for to date and then search for the records between these days which is not very feasible for my scenario as I might want to choose two different dates for example 4th of Jan and 6th of Jan and display results for only those days.
The other method is to use a list box which displays all the dates that are present in the database and choose from that however this is not going to work for me as if I have a very long list of dates such as from 1st Jan to 31st Jan then it would be very time consuming and also I might select a date which I do not want to to search for also in the results.
Could anybody suggest me how can I solve this problem.I am looking for a multiple date picker property in access.Is it possible to achieve this through the form properties? If yes how can it be done? Or is there any other solution for this problem?
Thanks in Advance.
I would recommend creating a temp table consisting of two fields, a Yes/No field and a Date field. Populate the date field (don't name it 'date') with all of the dates from your list of dates. Then on your search form add a subform bound to the temp table. Users would simply check the box next to the desired dates. Then modify your query to include the temp table with a join on the date fields and criteria that the Yes/No field is True (Yes).
Its doubtful youre still looking for this but for anyone else that happens accross this topic I modified an existing datepicker to allow selection of any number of non-contiguous dates, and insert them to a table. I posted it on UtterAccess (A great forum for Access questions). A link to the forum topic is below, but you need to create an account to download the example file.
http://www.utteraccess.com/forum/index.php?showtopic=1738361&st=0#entry2535392
You could combine the two approaches and have
Two textboxes to filter for a short date range (say 1 month dates)
Show the dates in this date range in a multiselect listbox where the user can select the specific dates they need.