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     Question about report for field with no data

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Question about report for field with no data
 Login/Join
 
Member
posted
I'm creating a FOCEXEC that will produce a report using BY fields and SUM fields. I'm summarize data by year. I'm also only processing data for two years. One of my fields for one year has data and in the subsequent year, it has no data. This particular field does not show up on my report. Should'nt it show, whether there is data or not?

My pseudocode is summarize field1 field2 across yearfield by field 3.

What might be causing the field not to show on my report?
 
Posts: 9 | Registered: April 02, 2007Report This Post
Virtuoso
posted Hide Post
If there is no data for that year, you will not see it, unless you force the report to do so.


TABLE FILE CAR
SUM SALES
BY MODEL
ACROSS COUNTRY
COLUMNS ENGLAND AND FRANCE AND SPAIN
END


Spain has no data but you will get an empty column now




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
FrankDutch,

Thanks for replying. Question... what about if the data record has information for one year but not for the other year? That is the situation in my case... my records show data for one year in the yearfield, but not for the other year in the yearfield.
 
Posts: 9 | Registered: April 02, 2007Report This Post
Virtuoso
posted Hide Post
that was in my answer, but if you want it in your code


TABLE FILE yourfile
SUM FIELD1 FIELD2
BY FIELD3
ACROSS YEARFIELD
COLUMNS THISYEAR AND PREVYEAR
END



The prevyear should be displayed as a column but the data would be empty.

BTW take some time to update your signature, so we know your platform and version!




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Thanks for replying... I used your hints and got what I needed.
 
Posts: 9 | Registered: April 02, 2007Report 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     Question about report for field with no data

Copyright © 1996-2020 Information Builders