IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    How to rearrange the data ?
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Gold member
Posted
Can anyone help me, the coding as follow:
 <br />TABLE FILE CAR<br />SUM<br />    MVAL AS 'MARKET PRICE' OVER<br />    SVAL AS 'SALE PRICE'<br />BY  YEAR NOPRINT<br />ACROSS THEMONTH<br />       COLUMNS<br />       'JAN' AND<br />       'FEB' AND<br />       'MAR' AND<br />       'APR' AND<br />       'MAY' AND<br />       'JUN' AND<br />       'JUL' AND<br />       'AUG' AND<br />       'SEP' AND<br />       'OCT' AND<br />       'NOV' AND<br />       'DEC'<br />HEADING<br />"CAR REPORT"<br />""<br />ON THEYEAR SUBHEAD<br />"<THEYEAR"<br /> 
It will shown sort by 'THEYEAR' field and across the 'THEMONTH' field. The 'THEYEAR' field will be put at the subhead. But now, I would like to sort by the 'MARKET PRICE' and 'SALE PRICE', and put them at the subhead. The data remind unchange and show at the across field 'THEMONTH'.

Is it any way to do like this ?
 
Posts: 55 | Registered: May 15, 2004Reply With QuoteEdit or Delete MessageReport This Post
Guru
Posted Hide Post
Have you figured this one out yet? Could you give us a mock-up of the layout of the report that you are looking for.

When you use both a BY and ACROSS together you will get a Matrix style, or Cross-tab type of report.

If you want to force sort groups you can also do BY THEMONTH ROWS
'JAN' OVER
'FEB' ... etc

Then you could refer to <MVAL and <SVAL in the Subhead.
 
Posts: 342 | Location: Melbourne Australia | Registered: April 15, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    How to rearrange the data ?

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.