I have a report that returns 4 or 5 rows of information depending on the month of the year. I have a formula that highlights the week in question.
If DatePart("ww", CurrentDate)-2 = {2003_Scorecard_Extended.week#} then Silver Else White
However, when I try to use that same formula in a calculation I keep getting a zero, the formula that I'm using is
If DatePart("ww", CurrentDate) -2 = Week# Then Field1- Field2 Else 0
Field 1 and Field 2 are integers and they do contain data.
I need to find a formula that will allow me to calculate on the week that I define from the formula.
All help is appreciated
If DatePart("ww", CurrentDate)-2 = {2003_Scorecard_Extended.week#} then Silver Else White
However, when I try to use that same formula in a calculation I keep getting a zero, the formula that I'm using is
If DatePart("ww", CurrentDate) -2 = Week# Then Field1- Field2 Else 0
Field 1 and Field 2 are integers and they do contain data.
I need to find a formula that will allow me to calculate on the week that I define from the formula.
All help is appreciated