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] Not graphing 0 on a line chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Not graphing 0 on a line chart
 Login/Join
 
Member
posted
I am displaying last years monthly data on a line and this years monthly data on a line. I run two queries to get this data and MORE the files together. Charting last years data is not a problem but when displaying this years data I only have data up to a certain month. Since it's Dec I only have Jan-Nov data to chart. The MORE'd file does not have a line for current year Dec data. This makes the current year line for Dec chart to 0. I do not want any 0 values charted, I just want that line to end. I have tried the examples at Displaying Missing Data Values in a Graph but I cannot get the result I desire. Any advice will be appreciated.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 4 | Registered: December 15, 2017Report This Post
Platinum Member
posted Hide Post
Please make your data field nullable. If you will do a table file request on this you will get the 0 for dec not missing(null) thats why it is showing 0 in your graph.
Try like this to make missing field
  TABLE FILE CAR
SUM 
COMPUTE A/I9 MISSING  ON = IF CAR EQ 'BMW' THEN MISSING ELSE SALES;
BY CAR
END


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


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Member
posted Hide Post
quote:
Missing on

Appreciate your advice. The below code gets the desired result:

COMPUTE CURRENT_YEAR_DATA/P20 MISSING ON = IF CURRENT_YEAR GT 0 THEN CURRENT_YEAR ELSE MISSING;


WebFOCUS 8
Windows, All Outputs
 
Posts: 4 | Registered: December 15, 2017Report 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] Not graphing 0 on a line chart

Copyright © 1996-2020 Information Builders