I want to Have headers with separate months but am not sure how to do it. ie
if {PJPROJ.end_date} = "current year and Jan 1 thru 31" then {vr_RVI_ProfitByJob.eac_Revenue} else 0
I am not sure how to set up the variables and how to use them. I would like to set up 12 months in columns and then for the 13th column have everything beyond the current calendar year. I can do this statically but I want it dymanic so I don't have to edit the report every year. I did it this way statically :
if {PJPROJ.end_date} >= Date (2003,01,01) and {PJPROJ.end_date} <= Date (2003,01,31) then {vr_RVI_ProfitByJob.eac_Revenue} else 0
if {PJPROJ.end_date} = "current year and Jan 1 thru 31" then {vr_RVI_ProfitByJob.eac_Revenue} else 0
I am not sure how to set up the variables and how to use them. I would like to set up 12 months in columns and then for the 13th column have everything beyond the current calendar year. I can do this statically but I want it dymanic so I don't have to edit the report every year. I did it this way statically :
if {PJPROJ.end_date} >= Date (2003,01,01) and {PJPROJ.end_date} <= Date (2003,01,31) then {vr_RVI_ProfitByJob.eac_Revenue} else 0