Reputation: 151
I have a new requirement with SSRS reporting. i have an SQL query with two parameters which are start and end date. the requirement is i want to create subscription for the report to be sent to particular email on weekly basis. the report should be sent as an excel file with two worksheets. first sheet should have the data from the parameter value selected as 'Startdate=getdate-7 and enddate=getdate()' and the second sheet should have the data from the parameter value selected as 'Startdate=oct-18-2019 and endate=getdate()'. Could anyone help me how to achieve this? i know we can create two separate reports and send two different subscriptions for this. but not sure if we can acheive this sending this in one suscription. or you can also help me if this can be sent in one email subscription but with two different excel sheets.
Upvotes: 0
Views: 932
Reputation: 899
You can do 1 report with 2 Data-Driven Subscriptions.
Click Here for documentation
Check Here for a good article with a clear examples
Upvotes: 0