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     [CLOSED] Graph - (FOC32466) MERGE DIMENSIONS EXCEED THE NUMBER OF SORT FIELDS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Graph - (FOC32466) MERGE DIMENSIONS EXCEED THE NUMBER OF SORT FIELDS
 Login/Join
 
Master
posted
I have a graph like this...

quote:

GRAPH FILE MORE1
SUM AVEMONS_06 AS ' '
BY ASORT NOPRINT
BY XAGE
ACROSS YEAR AS ' '
. . .
ON GRAPH SET LOOKGRAPH HBAR

ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
. . .
END


where:
ASORT = defined field to keep AGEGRP in a specific sort order.
XAGE = defined field which contains consolidated data for AGEGRP field.

When I tried to run this graph, I received the error:

0 NUMBER OF RECORDS IN GRAPH= 55 PLOT POINTS= 5
(FOC32466) MERGE DIMENSIONS EXCEED THE NUMBER OF SORT FIELDS

So, I investigated this error and got this message:

? 32466
-RUN

(FOC32466) MERGE DIMENSIONS EXCEED THE NUMBER OF SORT FIELDS.
The sum of GRMULTIGRAPH, GRXAXIS, and GRLEGEND set command values must be equal to the number of BY fields in the focexec.

I have been playing with the GRMULTIGRAPH, GRLEGEND and GRXAXIS settings, and I'm still getting this error.

Has anyone else had this issue?

Thanks!

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


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
I changed
quote:
ON GRAPH SET GRMERGE ADVANCED

to
quote:
ON GRAPH SET GRMERGE ON

and it works.

Now I have the modify the
quote:

setSeriesLabel(0,"0-5");
setSeriesLabel(1,"6-18");
setSeriesLabel(2,"19-44");
setSeriesLabel(3,"45-64");
setSeriesLabel(4,"65+");
setSeriesLabel(5,"Total");


to control the legend displays.
I'd like to get around that!


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
Well, you have 3 BY-fields (ASORT, XAGE & YEAR) while GRMULTIGRAPH, GRLEGEND and GRXAXIS only add up to 2. My guess is that GRLEGEND should be 2.

I don't recall ever having success mixing BY and ACROSS fields in one graph, I usually stick with just BY fields, so:
GRAPH FILE MORE1
SUM AVEMONS_06 AS ' '
BY ASORT NOPRINT
BY XAGE
BY YEAR AS ' '
. . .
ON GRAPH SET LOOKGRAPH HBAR

ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 2
ON GRAPH SET GRXAXIS 1
. . .
END


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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     [CLOSED] Graph - (FOC32466) MERGE DIMENSIONS EXCEED THE NUMBER OF SORT FIELDS

Copyright © 1996-2020 Information Builders