Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Year To Date sum

Status
Not open for further replies.

Belle19

Programmer
Jun 2, 2006
11
US
I have a GrossProfitAmt that I need to calculate the sum of this field YearToDate.

The field is {AR_SalespersonHistory.GrossProfitAmt}. Is there any easy way to do this because the solutions that I have come up with seem too difficult and abstract. Any help???
 
Create a Running Total, and in the evaluate->use a formula place:

{table.date} in yeartodate

-k
 
I have a field that is {AR_SalespersonHistory.FiscalYear}. Is there a way to test whether it is the current year.
 
What is your fiscal year? If it matched the calendar year, you could just use a formula like this:

if {AR_SalespersonHistory.FiscalYear} = year(currentdate) then {table.amt}

Then you could insert a summary on this formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top