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     forcing by fields to exist

Read-Only Read-Only Topic
Go
Search
Notify
Tools
forcing by fields to exist
 Login/Join
 
Platinum Member
posted
I have a report request to show 20 days of future scheduled production by item by schedule date. Sometimes the schedule dates do not exist in the data. The user wants all twenty dates to appear as a column on the report. Is there way to specify which BY fields will appear even if they don't exist in the data?
 
Posts: 103 | Location: ricmmond va | Registered: September 30, 2004Report This Post
Virtuoso
posted Hide Post
Use the BY fieldname ROWS 'value' OVER 'value' OVER etc syntax.

TABLE FILE CAR
SUM SALES RCOST DCOST
BY COUNTRY ROWS
'ENGLAND' OVER
'JAPAN' OVER
'CHINA' OVER
'ITALY' OVER
'RUSSIA' OVER
'W GERMANY'
END
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
<JG>
posted
The thing to remember when using the ROWS/OVER Method is that if you are putting the data in to a hold file for additional processing then you must reference the column by it's ALIAS and not the original column name (in the example shown it will be E01) and that the length of the column is the maximum length of the ROWS/OVER values NOT the length of the original column.

JG
 
Report This Post
Platinum Member
posted Hide Post
How do you do it without defining the value? In the above example, you know all the countries in the table. What if you don't know the values.

Thanks,
Dan


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Guru
posted Hide Post
The MacGuyver technique comes to mind.
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
jimster06,

Yes, I saw that mentioned in some other posts. I'll give that a try.

Thanks,
Dan


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report 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     forcing by fields to exist

Copyright © 1996-2020 Information Builders