I have a SSRS Report where in the Header i have inserted an expression to make the reports title dynamic, like this report title Now i want to achieve the result that when i select invoice start date as 1st January 2018 and END Date as 1st January 2018, means one day Data i want in the title NOT to Display like ‘01 Jan 2018 and 01 Jan 2018’ means a date range, i just want '1 jan 2018' and when i select 2 different date then i want a Date range in the title.
Can anyone help me to achieve my result ?
=Parameters!Account_no.Value(0)
and then i am just picking the value from invoice start date and end date selected to run the report like this=Parameters!Invoice_Date_Start.Value
same for end date – deep=IIF(Parameters!Invoice_Date_Start.Value = Parameters!Invoice_Date_End.Value), "Start and end date is the same", "Start and end date is different"
- to insert date you can use the following=IIF(Parameters!Invoice_Date_Start.Value = Parameters!Invoice_Date_End.Value), Parameters!Invoice_Date_Start.Value, Parameters!Invoice_Date_End.Value + " to " Parameters!Invoice_Date_End.Value
(Check the syntex please) – Ali