Forum Discussion

Thimios's avatar
Thimios
Helper III
6 years ago

Cumulative value for dynamic date range

I have a Calendar table and two more tables:

1. Offer table w/columns: Offer code, Customer code, Offer value.

2. Opportunity table w/columns: Opp code, Opp Start Date, Opp End date, Customer code

I need to calculate the cumulative value of offers at any given date for valid opportunities (that is between Start and End date).

Any bright ideas?

8 Replies