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
Require 2 CPUs on an Intel Server SC5520HC Motherboard?
How can i setup IIS on windows server 2008
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
Where does this code start?
Column Name in query
Counting number of days between two dates using C#
obtain source (/usr/src) for 8.0-RELEASE-p3
How many database instance that can be supported by SQL Server 2008 Standard Edition?
Moving to Exchange 2010 from Exchange 2007
System Restore Points Not Created on Win 7