I am building a report that has monthly columns along the top.
and analysis lines underneath currently I am using this formula to provide one of the analysis lines
=((Sum(Abs([LD]="IBM F04"
*[5]))/(Sum(Abs([LD]="AOP F04"
*[5])))-1
but I need to make the F04 part a variable as this relates to the year something like F& variable"
However I have never used variables in a report before and need HELP.
I have a control that contains the the year in this format yyyy (2004)
I also need to use the variable plus 1 ie 2005
I am thinking I need something like Right([Year],2). But how do I define this as a variable?
Cheers
and analysis lines underneath currently I am using this formula to provide one of the analysis lines
=((Sum(Abs([LD]="IBM F04"
but I need to make the F04 part a variable as this relates to the year something like F& variable"
However I have never used variables in a report before and need HELP.
I have a control that contains the the year in this format yyyy (2004)
I also need to use the variable plus 1 ie 2005
I am thinking I need something like Right([Year],2). But how do I define this as a variable?
Cheers