wvantongeren Posted November 20, 2018 Report Share Posted November 20, 2018 Hi all. I have a table with over 40000 records. All records have working hours per day. I try to find out what the first and last day is for closing projects. So I'm looking for the first and last day. 129/5000 Quote Link to comment Share on other sites More sharing options...
0 Aether Posted November 21, 2018 Report Share Posted November 21, 2018 Hello @wvantongeren, You can just click the column of the Timestamp or Date in your table to change it in "ascending" or "descending" and for you to see the first and last day. Example: I hope this helps. ~WatashiwaJin~ Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted December 11, 2018 Report Share Posted December 11, 2018 Hi @wvantongeren, You can use SQL Functions into your Calculated Field: MAX for the last day and MIN for the first day. For more information about MIN() and MAX() functions, click here. Sample Formula is here: Latest Date CONVERT(VARCHAR(10),(SELECT MAX(Column_Name) FROM Table_name WHERE Column_Name =target.[@Field_name]),101) Earliest Date CONVERT(VARCHAR(10),(SELECT MIN(Column_Name) FROM Table_name WHERE Column_Name =target.[@Field_name]),101) I hope this helps! Quote Link to comment Share on other sites More sharing options...
Question
wvantongeren
Hi all.
I have a table with over 40000 records.
All records have working hours per day.
I try to find out what the first and last day is for closing projects.
So I'm looking for the first and last day.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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.