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.
In this example I am trying to hide the middle by clause by a NOPRINT and it does not work? Is there a way that I can hide a slice/segmentation that is in the middle of two different segmentations? I have tried an AS ' ' but that is just naming the series. Any suggestions?
Thanks, Nick
GRAPH FILE CAR -* Created by Info Assist for Graph SUM CAR.BODY.SALES BY LOWEST 5 CAR.ORIGIN.COUNTRY BY CAR.SPECS.RPM NOPRINT BY CAR.COMP.CAR ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET VZERO OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 0 ON GRAPH SET GRXAXIS 3 ON GRAPH SET LOOKGRAPH HBAR ON GRAPH SET AUTOFIT ON ON GRAPH SET STYLE * *GRAPH_SCRIPT setPieDepth(0); setPieTilt(0); setDepthRadius(0); setCurveFitEquationDisplay(false); setPlace(true); *END INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$ TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $ *GRAPH_SCRIPT setReportParsingErrors(false); setSelectionEnableMove(false); *END ENDSTYLE END -RUNThis message has been edited. Last edited by: <Kathryn Henning>,
Whatever you put in for BY field is printed in the graph, regardless. So, what I did to 'solve' this was not to print the actual field, but apply it as a means of indicating the sort order, since you do need the sort order. This looks a bit like this:
TABLE FILE CAR
SUM SALES
COMPUTE CNTR/I1 = IF COUNTRY EQ LAST COUNTRY THEN CNTR+1 ELSE 1;
BY COUNTRY
BY RPM
BY CAR
ON TABLE HOLD
END
DEFINE FILE HOLD
ORDER/A20 = EDIT(CNTR) | '. ' | CAR;
END
GRAPH FILE HOLD
SUM SALES
BY COUNTRY
BY ORDER
and then put in GRXAXIS 2 iso 3. This way I turned the RPM field into the sort order and added it to the car field so that the graph will still sort correctly. Only thing is that you now have a kind of ranking with the car, but that's better than having a bogus extra column, I think.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
GamP, that is a work around but that is not exactly what we need. I'm needing to find a way that doesn't include the sort order. If we were to trim/strip/substr the field, would it then sort by the actual field or the modified field? That's what I need to figure out this problem. I need a sort order that does not print.
Yes, I know it's a work around. But there is no way in Graph to have a non-printing by field. Since you do need the intermediate but invisible sorting, there is really no other way of doing this.. at least not that I know of.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007