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     Can totals in one report be referenced in another

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Can totals in one report be referenced in another
 Login/Join
 
<Ryan>
posted
I have a report which returns data (usage seconds from Table 1) that I use to charge our different groups. My problem is, this data isn't accurate. I can pull similar data from another table (Table 2), that is very accurate, but the data stored in this table cannot be linked any groups (the id stored is simply a service ID).

So, on to my question. Can I take the total usage I get from Table 2 and use it in my report for Table 1?

What I want to do is get the percentage of the usage against Table 1 and charge them that percentage of the total from Table 2.

It sounds like a weird request, but this is due to our Analyzer tables not recording the correct data, and this is the best work around I can find while IBI does research. I am doing this manually once a month (exporting the report to Excel and putting in my own formulas). I would like to make it automated so I can put it in RC and distribute it to those that need it.

Let me know if you have any ideas.
 
Report This Post
<Ryan>
posted
Well, if you get bored go ahead and respond. I found a way to do it with a lot of HOLD files. It's lengthy, but quick and it works. I'm open to suggestions to streamline it, but this gets me going for now. Thanks for any thought you put into this!
 
Report This Post
Expert
posted Hide Post
Ryan, it's Friday, thinking caps are 1/2 way off!!!

Here's an example; I am going to assume that you are executing the FEX's back-to-back, OR, with a -INCLUDE, AND, a P13.2 format for the example below:

-SET &ECHO=ALL;

TABLE FILE FILENAME
SUM
PRICE1
PRICE2
PRICE3
ON TABLE SAVE
END
-RUN
-READ SAVE &PRICE1.A15., &PRICE2.A15., &PRICE3.A15.

It is now available to be passed:

EX FOCEXEC PRICE1 = &PRICE1, PRICE2 = &PRICE2, PRICE3 = &PRICE3

etc.

OR

For a -INCLUDE, it's available immediately

Also, you may want to make it a GLOBAL(&&) instead of a LOCAL(&).

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
<Ryan>
posted
THANKS TOM!

I know what you mean about those thinking caps. Mine hurts after coding all the HOLD files. I'll give this a shot first thing monday.

Thanks again to anyone who put some thought into this!
 
Report 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     Can totals in one report be referenced in another

Copyright © 1996-2020 Information Builders