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     [SOLVED] Displaying MISSING data as ACTUAL values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Displaying MISSING data as ACTUAL values
 Login/Join
 
Member
posted
I'm having trouble with my output while running a report as a line chart in AHTML format. The graph doesn't recognize the fields with MISSING data as valid input, thus it throws the "Invalid data." error. I want to know if it's possible to fill this MISSING data as ACTUAL zero values, so the line graph can mark them as so. I've already tried a variety of set options, but none appear to make the MISSING value a valid data type the graph will accept. Thanks in advance.

This message has been edited. Last edited by: zshanks,


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report This Post
<Kathryn Henning>
posted
Hi zshanks,

Usually this can be addressed by having the MISSING attribute described in the Master File Description. You can then set up a DEFINE as follows:

ADATE/HYYMDS MISSING ON = IF MYDATE EQ MISSING THEN 0 ELSE MYDATE;

Regards,

Kathryn
 
Report This Post
Member
posted Hide Post
Thanks for the response Kathryn!

The problem is I'm not using a master file but SQL pass through. I've temporarily written SQL code that could display that missing data as valid zeros but I still haven't found the FOCUS alternative.


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report This Post
Virtuoso
posted Hide Post
Redefine it with MISSING=OFF:

HOLD the SQLOUT result, and insert
DEFINE FILE HOLD
TheColumn MISSING OFF = TheColumn ;
END 

before reporting against HOLD.

References to TheColumn in TABLE will then pick up the DEFINEd variable, which will inherit its USAGE from the column in SQLOUT, but MISSING values will be rendered as blank or zero.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Member
posted Hide Post
Thanks j.gross! Works like a charm. I put a HOLD on the SQLOUT first, then I was able to replace the MISSING fields with valid data using the define statement.


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report 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     [SOLVED] Displaying MISSING data as ACTUAL values

Copyright © 1996-2020 Information Builders