Matthew R White Posted December 14, 2018 Posted December 14, 2018 Is there a way to calculate only the first row of a table? thank you in advance
comment Posted December 14, 2018 Posted December 14, 2018 17 minutes ago, Matthew R White said: Is there a way to calculate only the first row of a table? I don't know what that means. Why don't you elaborate with an example and - most importantly - explain why this would be necessary.
Matthew R White Posted December 14, 2018 Author Posted December 14, 2018 I have a table called Premiums and the initial premium is always the first created record in this table. Throughout the year more records are added to this table as premium is subtracted or added. I’m looking to summarize the initial premium in the first row for all my records to show total initial premiums Does this make more sense?
comment Posted December 14, 2018 Posted December 14, 2018 6 minutes ago, Matthew R White said: Does this make more sense? Just barely. Is there a parent table to these premiums? A calculation field in such table would get the data from the first related record in Premiums - which, if the relationship is unsorted, would be the first related record in creation order. And you could use a summary field (again, in the parent table) to get the total for the entire found set (of the parent table). All unstored, so it won't be fast. Makes you think if the initial premium isn't really more an attribute of the parent object than it is a sibling of the subsequent premiums.
Recommended Posts
This topic is 2522 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 accountSign in
Already have an account? Sign in here.
Sign In Now