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     Define fields in the X axis

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Define fields in the X axis
 Login/Join
 
Platinum Member
posted
Hello!

I'm trying to create a dynamic define field to use in conjunction with radio buttons to drive the results in a bar chart. Depending on the selection, the chart should show amounts by top 10 customers, or amounts by top 10 product types. The source I'm going against includes one field called NUMBER and another called SE_DIM. For instance, customer is 4, and product type is 5. I'm using that to create the defines below:

DIM/A50 = IF NUMBER EQ 4 THEN CUSTOMER ELSE IF NUMBER EQ 5 THEN PRODUCT_TYPE ELSE 'Not Defined';

CRITERIA/A50 = IF DIM EQ CUSTOMER THEN 'Customer' ELSE IF DIM EQ PRODUCT_TYPE THEN 'Product Type' ELSE 'Not Defined';

I've also created a define field for the Legend (Series) based on the CRITERIA field:

CRITERIA2/A50 = IF CRITERIA EQ 'Customer' THEN CUSTOMER ELSE IF CRITERIA EQ 'Product Type' THEN PRODUCT_TYPE ELSE 'Not Defined'

I'm able to get the "product type" radio button to work fine; however, the customer only shows with the product type data.

My chart also includes 3 radio button for MTD, QTD and YTD, and they work fine.

I want to be able to select the customer, and get the top ten customers only. By the same token I want to select the product type radio button and get the top 10 product types only. Any suggestions. Thanks

Luiz
 
Posts: 117 | Location: Denver | Registered: July 27, 2005Report This Post
Gold member
posted Hide Post
Luiz,

Can you first make sure that your DEFINE is created correctly? Can you create a similar procedure using report instead of a chart?

Thanks,
Vicky Lozovsky
 
Posts: 52 | Registered: January 19, 2007Report This Post
Platinum Member
posted Hide Post
Vicky,

Thank you for your reply. I've tried the same define logic with a report, but the issue seems to get the radio buttons to work correctly. I'm able to get the MTD, QTD and YTD radio buttons to work with one dimension(customer), but it fails when I add on the "product type" dimension. In short, I want to be able to:
1- Click on the Customer button (dimension1)
2- Select either MTD, QTD, or YTD button (period)
3- Visualize amounts by customer (top 10)
4- Click on Product Type (dimension2)
5- Select either MTD, QTD, or YTD button
6- Visualize amounts by product type (top 10)

Thanks
Luiz
 
Posts: 117 | Location: Denver | Registered: July 27, 2005Report 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     Define fields in the X axis

Copyright © 1996-2020 Information Builders