同比:主要是计算去年本期值,可采用RS提供的函数
[日期] >= _add_years(?start_date?,-1) and [日期] <= _add_years(?end_date?,-1)
年累计值:去本年累计至参数日期的所有值
to_char( [日期] ,‘yyyy’) = to_char(?end_date?,‘yyyy’) and [日期] <=?end_date?
同比:主要是计算去年本期值,可采用RS提供的函数
[日期] >= _add_years(?start_date?,-1) and [日期] <= _add_years(?end_date?,-1)
年累计值:去本年累计至参数日期的所有值
to_char( [日期] ,‘yyyy’) = to_char(?end_date?,‘yyyy’) and [日期] <=?end_date?