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

Parameter issue. =MonthName(month(now())-1) does not work for January.

$
0
0


I use the following expression to get a previous month name. 

=MonthName(month(now())-1)

But now that we are in January, I cannot do a -1 in my expression.  (the report will not run)

Is there a way to change the expression to say except if Now is January, then go +11 (December)


Viewing all articles
Browse latest Browse all 10045

Trending Articles