Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Folks!!

I have a parameters @StartDate and @EndDate in SSRS report.I want to show the last wednesday as a "Default Date" for @StartDate.
For Example Today is May10,2016. I need to show May04,2016 as a "default date" for @StartDate .This Should be Dynamically we need to do
.
Can anyone please help me How to write an SSRS Expression to show last wednesday as a default date for @StartDate.

What I have tried:

Iam not sure how to write SSRS expression .
Posted
Updated 10-May-16 22:42pm
v3

1 solution

Hi
I think something like this should work:
C#
="Start date will show date for last 7th day:" + " " + 
DateAdd("d",-6,Today())
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900