Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Grouping data into time intervals of 15 minutes

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Grouping data into time intervals of 15 minutes
 Login/Join
 
Guru
posted
Hello Gurus,
I am dealing with a table with metrics with some timestamps. We need to group the data every 15 or so minutes. Any ideas?
Thanks in advance!

-PVuppala

This message has been edited. Last edited by: vaayu,


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Virtuoso
posted Hide Post
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Guru
posted Hide Post
Thank you BabakNYC, this looks like 8203 feature, unfortunately we're on 8201M. I'm tryinig using defines now.
  
DEFINE FILE MYFILE
START_INTERVAL/I4 = IF START_MINUTE LE 15 THEN 15 ELSE IF START_MINUTE FROM 16 TO 30 THEN 30 ELSE IF START_MINUTE FROM 31 TO 45 THEN 45 ELSE 60;
END


The problem with this approach is I need to make sure to fill the empty buckets i.e., for the rows that don't have a record I need to count as zeros. Hope it makes sense.


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Expert
posted Hide Post
Maybe this can work for you?
START_INTERVAL/I4 = 
     IF {FIELD IN RECORD} EQ MISSING THEN 0
ELSE IF START_MINUTE LE 15 THEN 15 
ELSE IF START_MINUTE FROM 16 TO 30 THEN 30 
ELSE IF START_MINUTE FROM 31 TO 45 THEN 45 
ELSE 60;
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Thanks for the ideas !! You guys rock! Smiler


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Grouping data into time intervals of 15 minutes

Copyright © 1996-2020 Information Builders