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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
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
 
Report 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, 2004Report 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, 2003Report 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, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders