Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     I want Sorting Order of Month Names as per as Calendar
Go
New
Search
Notify
Tools
Reply
  
I want Sorting Order of Month Names as per as Calendar
 Login/Join
 
Platinum Member
posted
Hi All
i Have Some Problem in my Graph Sorting,my X-Axis Label Names are Month Names .these are coming from database in a Calendar order. but in my report lables are showing in Alphabetical Order.i Developed the chart from StoredProcedure.in the Result of SP Month Names Are in Calendar Order.Coming to my Chart These are Changing into Alphabetical Order Is there any Solution to Overcome this Problem.

Please Give me Example for this problem


Thanks,
Kalyan.S

This message has been edited. Last edited by: kalyanswarna,
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Take a look at this post.

http://forums.informationbuilders.com/eve/forums/a/...511068331#4511068331


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
see if this code helps.

TABLE FILE CAR
SUM SALES
ACROSS COUNTRY AS ''
COLUMNS JAPAN AND ENGLAND AND 'W GERMANY' AND FRANCE AND ITALY
-*ACROSS COUNTRY
-*ACROSS FISCAL_MONTH AS ''
-*COLUMNS Jan AND Feb AND Mar AND Apr AND May
-*AND Jun AND Jul AND Aug AND Sep AND Oct AND
-*Nov AND Dec
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
<Special-K>
posted
Sort on a month number first,e.g.

DEFINE FILE MONTHS
MTHNUM/I2= IF MTH EQ 'JAN' THEN 01 ELSE
IF MTH EQ 'FEB' THEN 02 ELSE
IF MTH EQ 'MAR' THEN 03 ELSE
...
...
...
END

TABLE FILE MONTHS
SUM CARS
BY MTHNUM NOPRINT
BY MTH
END
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     I want Sorting Order of Month Names as per as Calendar

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