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

expreesion in ssrs

$
0
0

Hello I wrote an expression

="Report for the period of  "&  iif(isnothing(Parameters!start_date.Value),"Inception",Parameters!start_date.Value)&" to "&FormatDateTime( iif(isnothing(Parameters!start_date.Value),today(),Parameters!end_date.Value),dateformat.shortDate)

if I select start date and end date both then it works

Report for the period of  1/1/2016 to 3/18/2016

, if i select start date and end date null it returns

Report for the period of  3/9/2016 to 1/1/0001

Why today() become 1/1/0001

I ma new to ssrs expression please suggest.?


Viewing all articles
Browse latest Browse all 10045

Trending Articles