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.
In my report I have 4 prompts (first 2 are cascading, the last 2 are cascading) For the first cascading prompt I populate it from table A, for the second cascading prompts I populate it from table B.
Based on these prompt selection I have to generate graphs (to build these graph I use data from Table A only).
I have also implemented a Drill down from this graph (to build this standard tabular report I use data from both Table A and Table B)
Now my problem is when I select ALL option in all the 4 prompts or in the Last 2 prompt alone and click on the run button Case1. Prompt1: ALL Case 2. Prompt1: Value Prompt2: ALL Prompt2: Value Prompt3: ALL Prompt3: ALL Prompt4: ALL Prompt4: ALL
The graph displayed is incorrect (i.e. it does not join the Table A and Table B), for e.g. at the footer it displays the total count as “300”
But when I drill down from the graph to the standard report, the output is displayed correctly, for e.g. in the footer the total count is 100.
To verify this I queried my database in oracle, and when I queried Table A I get 300 rows, when I queried Table B I get 100 rows, when I joined Table A and Table B I get 100rows.
The Graph as well as the drill down report works fine if I don’t select all in the Last cascading prompt. (i.e. Prompt3: Value, Prompt4: All or Prompt3: All, Prompt4: value)
Can any one tell me as to why I am facing such a strange situation and also provide me a solution?
My guess is that when you select ALL, the FOC_NONE value is passed to the graph, therefore there is no filter and if you're not referring to any other fields in Table B, the join is not done, hence the 300 rows. Possible solutions: Add a BY field NOPRINT statement or a WHERE TABLEB.FIELD1 NE '' statement to force WebFOCUS to generate SQL to refer to TABLE B.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server