Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Series Round with fixed starting point

$
0
0

Hi all,

 

Let <tabSeries> be a set of time series values where the time points are always the first of month. Then

 

select series_round("ts",'interval 7 days',round_down) as "ts" from <tabSeries>

 

will produce a time series where the time points are always Saturdays before the first of the month.

 

Question: Is it possible to set up the series_round with Mondays? Why does the system take Saturdays? I would like to tell the system in series_round what should be the starting time point. Is this possible on the fly or do I have to persist a corresponding series table first?

 

Thanks,

Ingo


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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