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] Diagonal Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Diagonal Report
 Login/Join
 
Gold member
posted
I have a Requirement to show a report in the format of

x1 x2 x3 y6
x5 x6 y4 y5
x7 y1 y2 y3

where x1 x2 x3
x5 x6
x7
has to come from a Hold File

and y6
y4 y5
y1 y2 y3

has to come from another hold file

and then we need to super-impose or collapse the both hold files to obtain the report in the above specified format.

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


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Expert
posted Hide Post
Saggy, can you post the masters for the hold files?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
i have the two seperate diagonals created in this way
table file H1
Sum X1
Across X2
By X3
END

table file H2
Sum Y1
Across Y2
By Y3
END

of which X2,X3 and Y2,Y3 are date fields and X1,Y1 are measure calculations.


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Virtuoso
posted Hide Post
From the information you have provided so far, I must assume that your X1 and Y1 measures are from the same domain and both dates (X2/Y2 and X3/Y3) are in the same format. If so, you could combine the two sets of data using MATCH, then generate your final ACROSS report.
MATCH FILE H1
SUM X1 AS 'M1'
BY X2  AS 'D1'
BY X3  AS 'D2'
-*
FILE H2
SUM Y1 AS 'M1'
BY Y2  AS 'D1'
BY Y3  AS 'D2'
AFTER MATCH HOLD AS H3 OLD-OR-NEW
END

TABLE FILE H3
SUM M1
ACROSS D1
BY D2
END

This message has been edited. Last edited by: Dan Satchell,


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Gold member
posted Hide Post
Hi dan,
i tried this approach of urs.
and i am getting 0's in the measure value field for M1
the report is like

x1 x2 0
x3 0 0
0 0 0

the values of the second hold file are not getting printed and they are shown up as zeros
did i miss anything in specific.


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Virtuoso
posted Hide Post
quote:

table file H1
Sum X1
Across X2
By X3
END

Saggy,
Is it correct to assume that X2 has 4 values, and X3 has 3 values and that the values for X1 are 0 or null out of the "triangle"? And the complement for the Y's? If not, then could you give a bit more insight?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
Make certain you have given the same AS names to both sets of column names in both parts of the MATCH statements. For example, X1 and Y1, X2 and Y2, and X3 and Y3, must have the same AS names (in my example, 'M1', 'D1', and 'D2', respectively).


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 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     [CLOSED] Diagonal Report

Copyright © 1996-2020 Information Builders