Microsoft
Software
Hardware
Network
Question : Default parameter to max date
Hi, Is it possible to default a parameter to the max date? I tried doing this in the parameter's default values, specify values expression box, but it didn't work. I got the error aggregate and lookup functions cannot be used in report parameter expressions.
=max(Parameters!Run_Dt.Val
ue)
My dataset is this -
select distinct run_dt from tbl_A
Answer : Default parameter to max date
Add a 2nd dataset. Your query will be select max(run_dt) from tbl_A . Then in your parameter under default choose get values from a query. You can then choose this dataset and the field which is the max date.
Random Solutions
How to create .properties file to solve this
Click on an item in a list box and have that value populate a text field
WSUS report
refresh ribbon any time a worksheet is activated
Hyper-V P2V VM Continuous Blue Screen
Google crawling errors, callingpage javascript - Safe to disallow file in robots.txt?
XP 10 inbound connection limit question
Windows 7 clients cannot connect to the server
Adobe - monitor profile [..] appears to be defective. Please rerun your monitor calibration software
How to run db2 script from control center windows