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]Matrix report- placing measure headers on rows instead of columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Matrix report- placing measure headers on rows instead of columns
 Login/Join
 
Member
posted
Hi,

I have a TABLE statement showing product sales & targets by Quarter using the following code:

TABLE FILE SALES_VS_TARGET
SUM
SALES AS 'Sales'
TARGET AS 'Target'
BY PRODUCT
ACROSS PERIOD
END

This gives a result like this:

	QTR1		QTR2	
	Sales	Target	Sales	Target
PROD 1	1000	1050	1200	1150
PROD 2	500	450	550	600
PROD 3	1500	1200	1400	1300
  


Ideally, I want to measures to be placed on the rows, rather than on the columns - like this:

 		QTR1	QTR2
PROD 1   Sales    1000     1200
         Target   1050     1150
PROD 2   Sales    500      550
         Target   450      600
PROD 3   Sales    1500     1400
         Target   1200     1300 


Is it possible to specify whether the measures become part of the row or columns headers?

Thanks,
Steve

This message has been edited. Last edited by: Kerry,
 
Posts: 7 | Location: Sydney, Australia | Registered: November 27, 2007Report This Post
<JG>
posted
OVER
 
Report This Post
Member
posted Hide Post
Thanks JG - that's ridiculously simple!

So, the statement now becomes and gives exactly what I'm after:

TABLE FILE SALES_VS_TARGET
SUM
SALES AS 'Sales'
OVER TARGET AS 'Target'
BY PRODUCT
ACROSS PERIOD
END


Prod: WebFOCUS 7.6.10/8.1.04 Upgrade: WebFOCUS 8.2.01 OS: Linux Outputs: HTML, PDF, Excel, PPT
 
Posts: 7 | Location: Sydney, Australia | Registered: November 27, 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     [SOLVED]Matrix report- placing measure headers on rows instead of columns

Copyright © 1996-2020 Information Builders