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.
I'm aware this will likely be a very vague post as I'm very new to WebFocus (currently an apprentice in American Express Technologies).
Basically, I am trying to make a graph display only data from the last 24 hours. Is there some sort of compute that needs to be implemented to get this to work?
Any help would be greatly appreciated, thanks in advance!
LewisThis message has been edited. Last edited by: lewiswhite1994,
If your data sits in SQL/Oracle, our group usually finds it's better to create synonyms off stored procs to pull the data, in which you have to deal with manipulating dates. Just a thought.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Use a DEFINE or COMPUTE (may be more efficient) to determine the current date-time and a second date-time that is 24 hours ago. Function HGETC will provide the current date-time. Function HADD can be used to subtract 24 hours from the current date-time. Then use a WHERE clause to limit the data extract to date-times between these two date-time values.
Since a DEFINE will calculate the two dates for every record retrieved and a COMPUTE will do the same for every record in the internal matrix, a more efficient approach (depending on the size of your data extract) is to calculate the two dates just once, using Dialogue Manager. But this code is complicated for someone new to the tool.
DATEADD will work if Lewis' dates are SmartDates without a time component. But in that case, I would recommend using function AYMD in Dialogue Manager to calculate the previous day's date so it need be done only once. However, function AYMD will not account for business days or holidays.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Yes - you'll need to get someone to show you the HTML composer in developer studio where you will find all sorts of goodies such as drop-down lists and radio buttons.
7.7.05 Windows.
Posts: 39 | Location: UK | Registered: July 11, 2012