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     [SOLVED] Subfoot with ACROSS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Subfoot with ACROSS
 Login/Join
 
Silver Member
posted
Hi I'm hoping that someone can help me a problem. I'm writing a report that store sales by district by day (day being Yesterday, Week to Date, Month To Date, Season to Date and Year to Date) The below code works great is my "Day" is a BY field however the requirement is to have the Day field go across. However when I set Day to Across I can not maintain the correct subfoot numbers. Any suggestions would be appreciated.
 TABLE FILE HOLD
SUM
 TYCOMPSLS
     TYCOMPPLAN
     LYCOMPSLS
     COMPUTE COMVARPLAN/P7.1% = ( TYCOMPSLS - TYCOMPPLAN ) / TYCOMPPLAN * 100;
     COMPUTE COMPVARLY/P7.1% = ( TYCOMPSLS - LYCOMPSLS ) / LYCOMPSLS * 100;

BY DAY
BY MARKET_ID1
SUM
     TYSLS
     TYPLAN
     LYSLS
     COMPUTE PERPLAN/P5.1B% = ( TYSLS - TYPLAN ) / TYPLAN * 100; AS 'Plan,%'
     COMPUTE PERLY/P5.1B% = ( TYSLS - LYSLS ) / LYSLS * 100; AS 'LY %'
     COMPUTE PERCOMPLLY/P5.1B% = ( LYCOMPSLS_LLY - LLYCOMP ) / LLYCOMP * 100; AS ' Comp,LLY %'
BY DAY
BY  MARKET_ID1
BY  MARKET_NAME1
BY  STORE_NAME
BY  STORE_NO
BY NAME
ON TABLE HOLD AS TEST FORMAT ALPHA
END
TABLE FILE TEST
SUM
     TYSLS
     TYPLAN
     LYSLS
     COMPUTE PERPLAN/P5.1B% = ( TYSLS - TYPLAN ) / TYPLAN * 100; AS 'Plan,%'
     COMPUTE PERLY/P5.1B% = ( TYSLS - LYSLS ) / LYSLS * 100; AS 'LY %'
     COMPUTE PERCOMPLLY/P5.1B% = ( LYCOMPSLS_LLY - LLYCOMP ) / LLYCOMP * 100; AS ' Comp,LLY %'
BY  DAY
BY  NAME
BY  MARKET_ID1
BY  MARKET_NAME1
BY  STORE_NAME
BY  STORE_NO

ON MARKET_ID1 SUBTOTAL AS '*TOTAL'
ON MARKET_ID1 SUBFOOT
"Comp District Total<+0> <+0> <+0> <+0> <+0> <TYCOMPSLS<TYCOMPPLAN<LYCOMPSLS<COMVARPLAN<COMPVARLY "
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K 

This message has been edited. Last edited by: <Kathryn Henning>,


WEBFOCUS 7.14
WEBFOCUS.8.04
 
Posts: 44 | Registered: March 30, 2007Report This Post
Expert
posted Hide Post
Cathy, Please simplify this by providing a sample using one of IBs sample files.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Silver Member
posted Hide Post
Thank you doug. Instead of doing the double sum
I included the columns as noprints and did a recap on those particular columns and aligned using subhead. And got the correct numbers with the across fields.


WEBFOCUS 7.14
WEBFOCUS.8.04
 
Posts: 44 | Registered: March 30, 2007Report 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     [SOLVED] Subfoot with ACROSS

Copyright © 1996-2020 Information Builders