Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Work around to simulate a variable Partition in RANGE_N - topic by SteveD

$
0
0
Hi  -- Below is code that will give me a ranked count the number of calls (in our IVR call table) for a particular BTN (business telephone number).  However I seem to be forced to use fixed dates in the RANGE_N expression.  Because I want to rank calls over a long period of time and I want to count thier ranking within a 30 day window, I need to partition by a variable moving 30 day window looking backward from the call in the current record.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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