Jump to content
  • 0

Display latest record in a Report


KAPITYAN

Question

I have a one to many relationship but I only want to see the most recent event in my report. I am using a calculated field SELECT TOP 1 ContactID FROM Contacts WHERE ContactID = target.[@field:ContactID] ORDER BY CallDate but I get all the results not the most recent.

For example, I have a table Contacts with one person and table calls with. But I only want to see the when the last call was made. I want to display only the recent record/s.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Aside from limiting the total records returned in your DataPage, I also suggest changing the sort order of your records on the Results Page Options wizard. This will help you control the order of your records being displayed on the Results page. Here's a HowTo article that you may check for more information:

https://howto.caspio.com/datapages/reports/interactive-reporting-options/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...