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 have the following output from a procedure I am working on: STATE WORK_DONE TOTAL_TM COUNT AVE_TM South Dakota Light 26:21 18 01:27 Heavy 28:04 1 28:04 Nebraska Light 63:23 41 01:32 Medium 62:39 1 62:39 Heavy 35:55 1 35:55
This is my code for the table:
DEFINE FUNCTION TMFM (TOTMIN/I10) -* CALCULATE HOURS HR/I2 = TOTMIN/60;
-* CALCULATE MINUTES MIN/I2 = TOTMIN -(HR*60) ;
-* FORMAT TO HH:MM TMFM/A5 = EDIT(HR)||':'||EDIT(MIN);
END
TABLE FILE RESULTS SUM COMPUTE TOTAL_TM/A5 = TMFM(SUM.TOTAL_MIN); CNT.TOTAL_MIN COMPUTE AVE_TM/A5 = TMFM(AVE.TOTAL_MIN); BY STATE BY WORK_DONE
END
Now I want to do a subtotal for each TOTAL_TM, COUNT, AVE_TM. If I do a 'ON STATE RECOMPUTE', all I see is the Total count for each state. How do I go about re-adding all the 'COMPUTE' for the alpha numeric field.This message has been edited. Last edited by: Kerry,
Check out SUBTOTAL, SUB-TOTAL, COLUMN-TOTAL, ROW-TOTAL, etc. And note that numeric fields are required for totaling. F! (Help) is a good place to start while waiting for some WebFOCUS training.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Originally posted by Doug: Check out SUBTOTAL, SUB-TOTAL, COLUMN-TOTAL, ROW-TOTAL, etc. And note that numeric fields are required for totaling. F! (Help) is a good place to start while waiting for some WebFOCUS training.