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     FML with Across - rows with no data recap incorrectly

Read-Only Read-Only Topic
Go
Search
Notify
Tools
FML with Across - rows with no data recap incorrectly
 Login/Join
 
Silver Member
posted
I have created a simple report using FML. If I use "ACROSS YEAR", then rows in the final report that have no data do not sum correctly. If I change it to "BY YEAR" - the data sums correctly.



TABLE FILE CHRIS_GP_CHART_IBI
SUM 
     ACTUAL/D12.2CB
     BUDGET
BY ACCOUNT_CODE_FIRST_SEGMENT
ACROSS YEAR
FOR
     CHILD
'xxxxxx' ADD ALL AS 'R1' LABEL R1 OVER 
'xxxxxx' AS 'R2' LABEL R2 OVER 
RECAP R3/D12.2=R1-R2;
 AS 'R1-R2' OVER 
" " LABEL R4 OVER 
'xxxxxxx' ADD ALL AS 'R5' LABEL R5 OVER 
'xxxxxx' ADD ALL AS 'R6' LABEL R6 OVER 
'xxxxxx' ADD ALL AS 'R7' LABEL R7 OVER 
'xxxxxxx' ADD ALL AS 'R8' LABEL R8 OVER 
'xxxxxxxxx' ADD ALL AS 'R9' LABEL R9 OVER 
'xxxxxxxx' ADD ALL AS 'R10' LABEL R10 OVER 
" " LABEL R11 OVER 
" " LABEL R12 OVER 
BAR AS '-' OVER 
RECAP R14/D12.2=R5+R6+R7+R8+R9+R10;
 AS 'R5+R6+R7+R8+R9+R10' OVER 
" " LABEL R15 OVER 
BAR AS '-' OVER 
BAR AS '-' OVER 
'5110' ADD ALL AS 'R18' LABEL R18 OVER 
BAR AS '-' OVER 
RECAP R20/D12.2=R3-(R14+R18);
 AS 'R3-(R14+R18)' OVER 
" " LABEL R21 OVER 
" " LABEL R22 OVER 
" " LABEL R23
HEADING
""
FOOTING
""
WHERE ( YEAR GE 2005 ) AND ( ACCOUNT_CODE_FIRST_SEGMENT EQ 101 );
ON TABLE SET PAGE-NUM OFF 
ON TABLE SET FORMULTIPLE ON 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET BLANKINDENT ON
ON TABLE SET HTMLCSS ON  


This message has been edited. Last edited by: cbrady,


prod: WF 8.1 On Win2012
database: msSQL2012
test: identical to prod
 
Posts: 30 | Registered: February 28, 2008Report This Post
Expert
posted Hide Post
Hi Chris,

I passed this one to internals and here is the suggestion: we cannot recreate the problem here, so please contact Information Builders' Customer Support Services and open a case for assistance. We may need also need additional info, such as masters and data if possible.

To open a case, please either call at 1-800-736-6130, or access online InfoResponse.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     FML with Across - rows with no data recap incorrectly

Copyright © 1996-2020 Information Builders