Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Displaying a Field Over Another Field
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Displaying a Field Over Another Field
 Login/Join
 
Silver 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
Windows
HTML, PDF, Excel, etc
 
Posts: 38 | Registered: August 22, 2019Reply With QuoteReport 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: 1569 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Silver 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
Windows
HTML, PDF, Excel, etc
 
Posts: 38 | Registered: August 22, 2019Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2165 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Silver 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
Windows
HTML, PDF, Excel, etc
 
Posts: 38 | Registered: August 22, 2019Reply With QuoteReport This Post
Silver Member
posted Hide Post
Any more thoughts here also?


WebFOCUS 8.2.06
Windows
HTML, PDF, Excel, etc
 
Posts: 38 | Registered: August 22, 2019Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2165 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport 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.


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 137 | Registered: October 19, 2010Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2165 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Silver 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
Windows
HTML, PDF, Excel, etc
 
Posts: 38 | Registered: August 22, 2019Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Displaying a Field Over Another Field

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.