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] Displaying a Field Over Another Field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Displaying a Field Over Another Field
 Login/Join
 
Platinum Member
posted
In App Studio GUI, I need to display an amount field over another amount field over another amount field across a dates such as:
9/8/2019 9/9/2019
Total Revenue X,XXX X,XXX
Gross Contrib X,XXX X,XXX
Gross Margin X,XXX X,XXX

I guess I am needing to use the FOR ROW and OVER c command within the App Studio GUI. Any thoughts?

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


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 168 | Registered: August 22, 2019Report This Post
Virtuoso
posted Hide Post
AMC2

You just need the OVER.


TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST OVER
CAR.BODY.RETAIL_COST OVER
CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
ENDSTYLE
END


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Chuck - I know how to do it in the code, but how do you do an OVER within the App Studio GUI?


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 168 | Registered: August 22, 2019Report This Post
Virtuoso
posted Hide Post
Right click the field that you need to OVER, select Options then check : New Line (OVER)


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
MartinY - So I had already tried checking the New Line (OVER) option for the field but it's not working. It doesn't show in the preview of the report and it does not actually show in the output with the field over the other. Am I missing something here?


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 168 | Registered: August 22, 2019Report This Post
Platinum Member
posted Hide Post
Any more thoughts here also?


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 168 | Registered: August 22, 2019Report This Post
Virtuoso
posted Hide Post
In preview I don't see that the two measures will be OVER each other but at run it does

IT does work well using 8201 or 8204, maybe an issue with 8206.

Try to execute the below. Does it render as expected ?
If not, should better ask TechSupport

TABLE FILE GGSALES
SUM
     GGSALES.SALES01.UNITS OVER
     GGSALES.SALES01.DOLLARS
BY  GGSALES.SALES01.REGION
ACROSS LOWEST GGSALES.SALES01.CITY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
ENDSTYLE
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
I was able to produce the GGSALES example provided by MartinY in the App Studio 8.2.06 GUI. One thing that might not be obvious, the OVER is accomplished by right-clicking the Dollar Sales field, click Options... and checkmarking Over. Doing it on the Unit Sales field doesn't do anything.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Virtuoso
posted Hide Post
quote:
Doing it on the Unit Sales field doesn't do anything.


Sure it won't
The UNITS field is the first one in the SUM section so, it cannot be OVER anything
This is DOLLARS that is OVER UNITS


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Thanks dbeagan and MartinY - That resolved the issue...clicking on the other amount field and checking OVER worked when I ran it.


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 168 | Registered: August 22, 2019Report 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] Displaying a Field Over Another Field

Copyright © 1996-2020 Information Builders