Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

End date greater than Start date

$
0
0

Hello,

I am working on an SSRS report that has the following requirement:

-         The [End Date] needs to be greater than the [Start Date]

Additionally, users will have the opportunity to pick a date (Start & End) from a drop down list.

We have a stored procedure that returns a date range based on predefined conditions.

I used that stored proc to populate the two date drop down list.

In order to implement the above requirement, I created a second dataset, in Visual Studio, and filtered set result set using the User provided start date (coming from the drop down list).

This solution does not work.

My parameters are:

-         @StartDate (Datetime) coming from DateRangeDataSet

-         @EndDate (Datetime) coming from DateRangeDataSet_2

My datasets are:

-         MainDataSet (Actual data)

-         DateRangeDataSet

-         DateRangeDataSet_2 (identical to DateRangeDataSet but filtered within SSRS using the @StartDate parameter)

Any help to implement this would be much appreciated. Thank you


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>