Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

How to add a parameter based off another parameter

$
0
0

Hi I have a date parimeter that a user selects at runtime. What I would like is to create another parameter that takes the date they pick and subtracts one day from it, but it needs to stay hidden as it is just for another sql statement to use.

I tried to create another date parameter hidden and for the default value I added in this expression:

=Dateadd('d',-1,Parameters!FromDate.Value)

However everytime I try to run I get a "The Value expression for the report parameter ‘ThirdShiftDate’ contains an error: [BC30201] Expression expected." Error.

Would someone advise what I may be doing wrong.

Thank You, Mike


Viewing all articles
Browse latest Browse all 24955


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>