hi All
cr 9.0
ms sql
i have table and the month is number and year is number
and a parameter call month and the other year
if i want from from PYTD
is this ok
if {ASSET_HISTORY.ASSET_MONTH} in [1 to {ASSET_HISTORY.ASSET_MONTH}]
and {ASSET_HISTORY.ASSET_YEAR} in [{?Asset_Year}-1]
then
round({ASSET_HISTORY.CURR_SHR_DOL})
else
0
i want to have the
{ASSET_HISTORY.ASSET_YEAR} in [{?Asset_Year}-1]
go back 1 year
ex: if they select 2007
i want the {?Asset_Year} -1] to equal 2006
Thanks
fsreport
cr 9.0
ms sql
i have table and the month is number and year is number
and a parameter call month and the other year
if i want from from PYTD
is this ok
if {ASSET_HISTORY.ASSET_MONTH} in [1 to {ASSET_HISTORY.ASSET_MONTH}]
and {ASSET_HISTORY.ASSET_YEAR} in [{?Asset_Year}-1]
then
round({ASSET_HISTORY.CURR_SHR_DOL})
else
0
i want to have the
{ASSET_HISTORY.ASSET_YEAR} in [{?Asset_Year}-1]
go back 1 year
ex: if they select 2007
i want the {?Asset_Year} -1] to equal 2006
Thanks
fsreport