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] In WF8, is there a way to display columns ACROSS without using SUM?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] In WF8, is there a way to display columns ACROSS without using SUM?
 Login/Join
 
Member
posted
Is there any way to display the REGION values, but hide DOLLARS? Basically, all I want is REGION values and no other data. I'm using WF8.

SET ACRSVRBTITL=OFF
TABLE FILE GGSALES
SUM DOLLARS AS Sales
ACROSS REGION AS ''
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END
  

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
WebFOCUS 7705
Windows, All Outputs
 
Posts: 19 | Registered: October 28, 2016Report This Post
Silver Member
posted Hide Post
Is this something like you are looking for?

SET ACRSVRBTITL=OFF
DEFINE FILE GGSALES
Dlrs/A1 = '';
END
TABLE FILE GGSALES
SUM Dlrs AS Sales
ACROSS REGION AS ''
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END


WF 81.5, Windows7
AS/400 Database.
All Outputs

 
Posts: 46 | Registered: November 26, 2008Report This Post
Member
posted Hide Post
Very simple solution that I'll complicate a little. Smiler

Eventually my goal is to print something out similar to below, but the problem the suggested solution creates is the empty line of Row 2.

 
SET ACRSVRBTITL=OFF
DEFINE FILE GGSALES
Dlrs/A1 = '';
END
TABLE FILE GGSALES
SUM Dlrs AS Sales
ACROSS REGION AS ''
ON TABLE PCHOLD FORMAT EXL07 OPEN NOBREAK 
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END

TABLE FILE CAR
PRINT 
COUNTRY	AS ''
CAR	AS ''
MODEL	AS ''
BODYTYPE AS ''
ON TABLE PCHOLD FORMAT EXL07 CLOSE NOBREAK 
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END
 


WebFOCUS 8
WebFOCUS 7705
Windows, All Outputs
 
Posts: 19 | Registered: October 28, 2016Report This Post
Silver Member
posted Hide Post
This should remove the Empty Row and give you what I think you are looking for.

 SET ACRSVRBTITL=OFF
SET EMPTYREPORT=ON
DEFINE FILE GGSALES
Dlrs/A1 = '';
END
TABLE FILE GGSALES
SUM Dlrs AS ''
ACROSS REGION AS ''
WHERE TOTAL Dlrs NE ''
ON TABLE PCHOLD FORMAT EXL07 OPEN NOBREAK 
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END

TABLE FILE CAR
PRINT 
COUNTRY	AS ''
CAR	AS ''
MODEL	AS ''
BODYTYPE AS ''
ON TABLE PCHOLD FORMAT EXL07 CLOSE NOBREAK 
ON TABLE SET PAGE NOPAGE
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END
 


WF 81.5, Windows7
AS/400 Database.
All Outputs

 
Posts: 46 | Registered: November 26, 2008Report 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] In WF8, is there a way to display columns ACROSS without using SUM?

Copyright © 1996-2020 Information Builders