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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Graph by using Across value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph by using Across value
 Login/Join
 
Gold member
posted
Hi,
I want to display the graph by using two across fields like this..

GRAPH FILE TABLE1
SUM DOLLARS
ACROSS YEAR
ACROSS QUARTER AS ' ' COLUMNS 'QTR1' AND 'QTR2' AND 'QTR3' AND 'QTR4'
END

I am getting the graph right with appropriate values. On x-axis instead of displaying the year I want to display the quarter value like qtr1 qtr2 etc., now it displays 2003 and 2004 years.
How can I do that?

One more question is:
When a user clicks on a quarter it should show the detail part of what accounted for those total dollars. How do I pass the value for a quarter.
If I type
Quarter=A2. It is taking the year value instead of quarter value.

Any ideas?

Thanks in advance.
 
Posts: 76 | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
I figured out how to do this. I guess graph does not allow two ACROSS fields. I joined two fields in to one in my DEFINE statement.
(QTRY/A6= QTR||YR)

But now I have one more problem.

For Across field, I need to diplay all the 8 columns(2year data: 8 quarters) no matter what the field value is. In my graph, if one of the columns has zero dollars, it is not showing up in the Graph. How do I make the graph display 8 quarters eventhough one of the quarters has zero dollars.

My code is like this:
this is for a bar graph
GRAPH FILE XXX
SUM dollars
ACROSS QTRY AS ' '
END

So now on my Y-axis, I get dollars for each quarter on X-axis. But when a quarter has zero dollars the graph skips that quarter and displays rest of the quarters.
Any idea how to deal with this?

Thank you.
 
Posts: 76 | Registered: October 28, 2003Report This Post
<Pietro De Santis>
posted
This works in a TABLE so it should work in a GRAPH:


ACROSS DAY_DESC AS ''
COLUMNS MON AND TUE AND WED AND THU AND FRI AND SAT AND SUN
In your case the COLUMNS statement would be:


COLUMNS 2003-01 AND 2003-02 AND 2003-03 AND 2003-04
AND 2004-01 AND 2004-02 AND 2004-03 AND 2004-04

The values in the COLUMNS statement may have to Dialog Manager variables that you create based on the selected years for the graph.

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
Gold member
posted Hide Post
This works like a charm.

I did this previously, not sure why it did not work at that time though. Might have done some mistake. Thanks a lot Pietro.
 
Posts: 76 | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Graph by using Across value

Copyright © 1996-2020 Information Builders