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     [CLOSED] Vertical Swim Lane Formatting Done in WebFOCUS
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Vertical Swim Lane Formatting Done in WebFOCUS
 Login/Join
 
Member
posted
We have a request to create a WF report that mimics a current document formatted in Excel.

The data laid out :
Column 1 - Phase
Column 2 - Name
Column 3 – Business
Column 4 – Amount
Column 5 – Duration
Column 6 - Date Est
Column 7 – Effort

Phases are: Recommended, Researching, Initiation, etc (9 total)

The layout desired is a Swim Lane format, with Sections consisting of:
Phase OVER Business OVER Name

Each of those may have multiple Projects from different departments in the Swim Lane.

Because of page width, we do not want more than two “Name” listed under each Category.

I have tried various ways suggested by both IB and here on the forum, but cannot try Java Script as I do not know Java and we do not have a developer on site that does.

Has anyone ever tried something like this before successfully?

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


WebFOCUS 8.0.0.7
Windows 7, 64-bit
PDF
 
Posts: 3 | Location: Gillette WY | Registered: July 28, 2014Reply With QuoteReport This Post
Expert
posted Hide Post
Can you give an example of the source data structure and the resulting output ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Schilling,

Like Waz asks you, please provide a sample output.



Based on what I read you should probably first make a dataset that determines which 0, 1 or 2 "Name" should be listed.

Then perhaps use defines to make columns:
FIRST_LISTED_NAME = ...whatever formula you need;
SECOND_LISTED_NAME = ...whatever formula you need;

And uses those columns to make swimlane.

Greets,
Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 669 | Location: Veghel, The Netherlands | Registered: February 16, 2010Reply With QuoteReport This Post
Member
posted Hide Post
quote:
Originally posted by Waz:
Can you give an example of the source data structure and the resulting output ?


 
-* File car_across.fex
TABLE FILE CAR
PRINT
     CAR.SPECS.LENGTH AS ''
     CAR.SPECS.MPG AS ''
ACROSS LOWEST CAR.ORIGIN.COUNTRY AS ''
ACROSS LOWEST CAR.COMP.CAR AS ''
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=ACROSSVALUE,
     ACROSS=1,
     BACKCOLOR='WHITE',
$
TYPE=ACROSSVALUE,
     ACROSS=2,
     BACKCOLOR='WHITE',
$
ENDSTYLE
END


So England would be my first swim lane, France would be my second swim lane, etc. Then under England it shows three types of cars - I need those to only be a maximum of two car types wide. The third type of car (Triumph) would be under Jaguar. Does that make sense?


WebFOCUS 8.0.0.7
Windows 7, 64-bit
PDF
 
Posts: 3 | Location: Gillette WY | Registered: July 28, 2014Reply With QuoteReport This Post
Expert
posted Hide Post
Does this look close ?

Although I'm not sure how you want to see the Triumph data.

TABLE FILE CAR
PRINT
     LENGTH
     MPG
COMPUTE CARNO/I9 = IF COUNTRY NE LAST COUNTRY THEN 1 ELSE
IF CAR EQ LAST CAR THEN LAST CARNO ELSE LAST CARNO +1 ;
COMPUTE COLNO/I9 = IMOD(CARNO+1,2,COLNO)+1 ;
BY COUNTRY
BY CAR
ON TABLE HOLD AS TMP_SWIM
END

-*EXIT
TABLE FILE TMP_SWIM
PRINT
     LENGTH AS ''
     MPG AS ''
ACROSS COUNTRY AS ''
ACROSS COLNO AS '' COLUMNS 1 AND 2
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,$
TYPE=ACROSSVALUE,     ACROSS=1,     BACKCOLOR='WHITE',$
TYPE=ACROSSVALUE,     ACROSS=2,     BACKCOLOR='WHITE',$
ENDSTYLE
END


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
quote:
Originally posted by Waz:
Does this look close ?

Although I'm not sure how you want to see the Triumph data.

TABLE FILE CAR
PRINT
     LENGTH
     MPG
COMPUTE CARNO/I9 = IF COUNTRY NE LAST COUNTRY THEN 1 ELSE
IF CAR EQ LAST CAR THEN LAST CARNO ELSE LAST CARNO +1 ;
COMPUTE COLNO/I9 = IMOD(CARNO+1,2,COLNO)+1 ;
BY COUNTRY
BY CAR
ON TABLE HOLD AS TMP_SWIM
END

-*EXIT
TABLE FILE TMP_SWIM
PRINT
     LENGTH AS ''
     MPG AS ''
ACROSS COUNTRY AS ''
ACROSS COLNO AS '' COLUMNS 1 AND 2
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,$
TYPE=ACROSSVALUE,     ACROSS=1,     BACKCOLOR='WHITE',$
TYPE=ACROSSVALUE,     ACROSS=2,     BACKCOLOR='WHITE',$
ENDSTYLE
END


quote:

It is close but the TRIUMPH data would need to display underneath the JAGUAR and associated data LENGTH and MPG in the swim lane 'ENGLAND'. So it would like there is 3 'boxes' of data under ENGLAND.


WebFOCUS 8.0.0.7
Windows 7, 64-bit
PDF
 
Posts: 3 | Location: Gillette WY | Registered: July 28, 2014Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Vertical Swim Lane Formatting Done in WebFOCUS

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