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     Hide certain columns while using across function

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hide certain columns while using across function
 Login/Join
 
Member
posted
Hi everyone,
I am using ACROSS MONTH to display counts of data BY three fields. I want to display only the current month (last column of across) along with the ROW TOTAL (FYTD - Fiscal Year to Date).
I don't think I can use where statements b/c my row total would not give FYTD.
Don't think I can use syling either? Thinking that the number of columns will vary depending on the month I run it. For example in February I would only want to display the second column in across, in March only the thrid column in across, etc.
Does anyone have suggestions. Thanks in advance!


WebFocus 7.6.6 Win 2K
 
Posts: 29 | Registered: June 19, 2006Report This Post
Expert
posted Hide Post
jcs, have you read up on FML? Financial Modelling Language, a part of webfocus that is just exactly perfect for your request. Its not an extra product, its already part of the focus you have.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Member
posted Hide Post
Hi Susannah,
I didn't realize it was not an extra product! Thanks for the information. Is there a specific feature that you had in mind for solving. Thanks for the help!


WebFocus 7.6.6 Win 2K
 
Posts: 29 | Registered: June 19, 2006Report This Post
Expert
posted Hide Post
JCS,

A little DEFINE and judicious coding and you can do it in a straight TABLE -
-DEFAULT &Month = 2
-DEFAULT &Year  = 1996
DEFINE FILE GGSALES
  FISCAL_YTD/D12.2C = DOLLARS;
  YEAR/YY           = DATE;
  MONTH/M           = DATE;
  FISCAL_MTH/D12.2C = IF YEAR EQ &Year AND MONTH EQ &Month THEN DOLLARS ELSE 0;
END

TABLE FILE GGSALES
SUM FISCAL_MTH
    FISCAL_YTD
WHERE YEAR EQ &Year
END
-RUN

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
You do not need ACROSS to do what you want to do.
Use a COMPUTE or DEFINE to calculate your FYTD columns and display them and thenuse a ROW-TOTAL.
 
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006Report 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     Hide certain columns while using across function

Copyright © 1996-2020 Information Builders