Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Fetch the first record with 24 hr interval based on first record timestamp

$
0
0

Here's one way to approach it.

 

- Create DATE() and TIME() GENERATED ALWAYS statements

- Find the minimum timestamp and add it as a calculated column for all rows

- Subtract the time for this from the current time into another calculated column "calctime"

- Rank on the minimum "calctime" for each date

 

I think that could be built as a graphical calc view, but it might suck.

 

Wondering what Werner Steyn thinks to all this.


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>