Jump to content

This topic is 6476 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I need to create a year to date calculation but can not find any resources on how to do this. I have a contact DB with a one to many relationship to a donations DB. I need to get a total by year, and also a YTD total of donations. Any ideas on how to go about this?

Posted

You make a calc'field that says Year(theDate) and and the portals foreign key value to make a new concatenated key for an extra relation, and then Sum( over this new relation.

The primary key for the new relation is the original primary key concatenated with Year(Status(CurrentDate))

--sd

This topic is 6476 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.