Focal Point
[SOLVED] How to sort Across column heading

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7367056295

October 29, 2010, 04:19 PM
Riya
[SOLVED] How to sort Across column heading
How to sort Across column heading? I have month on Across column and it is out of order.

 

  JAN FEB MAR APR.... 
1  12  12  1   9

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


WebFOCUS 8.1.05
Excel, PDF, Pivot, HTML
Windows
October 29, 2010, 04:22 PM
GinnyJakes
What is the format of the month? If it is alpha, you can use ACROSS COLUMNS syntax. Or sort across the month number and NOPRINT it as well as the alpha month.

I hope this is what you are looking for. If not please supply the format of the field containing the month you are sorting on.


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
October 31, 2010, 05:22 AM
saikumar
You can use 'HIGHEST' OR 'LOWEST' before the column to sort the column.

If you are looking for Customized sorting then Go ahead with Ginny's Solution


WebFOCUS 8103 Appstudio, Dev Studio MRE
Client Windows 7, Serveron Unix.
Excel, PDF, HTML,AHTML
October 31, 2010, 04:44 PM
Waz
The other option with across is the key word COLUMNS.

e.g.
ACROSS FIELD COLUMNS Val1 AND Val2 AND Val3 ....


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 04, 2010, 02:25 PM
Riya
Thank you all for your reply.

This is a alpha field. I created a case statement with numbers and sorted by that number. It worked.

Thanks again for your suggestion.


WebFOCUS 8.1.05
Excel, PDF, Pivot, HTML
Windows