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     [CLOSED] Vertical Swim Lane Formatting Done in WebFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2014Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report 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, 2014Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2014Report 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     [CLOSED] Vertical Swim Lane Formatting Done in WebFOCUS

Copyright © 1996-2020 Information Builders