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

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
Graph Sort By
 Login/Join
 
<Lou Dufresne>
posted
I have a Bar Graph with Customer_Name on the X Axis and Dollars spent on the Y1 axis. The graph displays the data fine but I need it to display the data from the highest Dollar spent to the lowest so that the highest bar is on the left and the lowest bar is on the right.
In the graph the Across field is "Customer_Name". The data in the table si sorted properly but when it is displayed it resorts the data by "Customer Name"

Any ideas how to sort the Graph data from Hightes value in the first bar to lowest data in the last bar. Confused
 
Reply With QuoteReport This Post
Gold member
posted Hide Post
Probably too much of a rigged solution for you , but I do this by creating a saved file which takes the customer names and orders them by highest sales...I create a define that formats this file that I'm creating so that it will look like this;
'Bob' AND 'Craig' AND 'Julie' AND 'Tamar', etc. That is all that is in the file and it is in order by highest sales.

When I write the graph I then I include a phrase along the lines of
SUM SALES
ACROSS CUSTOMER COLUMNS
-INCLUDE <whatever file you named with the customers in it>

This essentially orders the file in the order you requested. Works fine for graphs when you are doing like a top 20, or top 50...but I've never tried this with a huge graph where you might have thousands...just fyi.

Stan
 
Posts: 90 | Registered: April 15, 2004Reply With QuoteReport This Post
Silver Member
posted Hide Post
Stan, I'd be interested to see your code that creates the saved file. If you don't mind, email it to me at pruittlr@oge.com. I have a graph that needs a similar solution. I'd appreciate it.

Thanks,
Raelene
 
Posts: 31 | Location: Oklahoma City, OK | Registered: September 11, 2003Reply With QuoteReport This Post
Gold member
posted Hide Post
Sent it to you this morning...Hope you got it.

Stan Murray
(By the way...an Oklahoma State Cowboy to the end!)
 
Posts: 90 | Registered: April 15, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 


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