R
R Avery
My problem is allocating $ to general partners that all have shares in
different Pools of money.
Table Name: PctSharing
Fields: Partner ID, Pool ID, Effective Date, Pct Ownership
Table Name: PoolEarnings
Fields: Pool ID, Earning Date, Amount
The Pct Ownership of a particular partner can change at Quarter-Ends
(but usually only occurs once a year), but at any point in time, the
total Pct Ownership across all Partners must be 100% in each Pool.
Every quarter, each Pool has earnings which must be distributed
according to the last Pct Ownership available.
How do I construct a crosstab query that will have Partners as the
ColumnHeading, Earning Date as the RowHeading, and Amount as the value
(where Amount is appropriately scaled by the Partner's Pct Ownership)?
Any help would be most appreciated. Thanks!
different Pools of money.
Table Name: PctSharing
Fields: Partner ID, Pool ID, Effective Date, Pct Ownership
Table Name: PoolEarnings
Fields: Pool ID, Earning Date, Amount
The Pct Ownership of a particular partner can change at Quarter-Ends
(but usually only occurs once a year), but at any point in time, the
total Pct Ownership across all Partners must be 100% in each Pool.
Every quarter, each Pool has earnings which must be distributed
according to the last Pct Ownership available.
How do I construct a crosstab query that will have Partners as the
ColumnHeading, Earning Date as the RowHeading, and Amount as the value
(where Amount is appropriately scaled by the Partner's Pct Ownership)?
Any help would be most appreciated. Thanks!