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.
I am currently working on a report that pulls all the ID's for a certain ORG from 2006 to now. What I am trying to do is trying to pull ALL the dates where the ID has been on this certain ORG but all I'm getting is the latest date... How can I pull this? I would greatly appreciate your responses.This message has been edited. Last edited by: <Kathryn Henning>,
No, I am sorting by ID I have never posted code so I am not sure how is this going to work so forgive me if this is not the correct way And by the way thank you for looking at it!
TABLE FILE DW_STAFFING
-SET &SECTION='WHERE';
-INCLUDE FIOB0210/mrv/staffing_august_2011.fex
PRINT DW_STAFFING.DW_STAFFING.STARTING
DW_STAFFING.DW_STAFFING.ENDING
BY DW_STAFFING.DW_STAFFING.STAFF_ID
BY DW_STAFFING.DW_STAFFING.LAST01
BY DW_STAFFING.DW_STAFFING.FIRST
BY DW_STAFFING.DW_STAFFING.MIDDLE
BY DW_STAFFING.DW_STAFFING.STAFF_GROUP
BY DW_STAFFING.DW_STAFFING.ASSIGNMENT_STATUS
WHERE DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE LIKE 'S%';
WHERE DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE NE 'S10' OR 'S11';
WHERE DW_STAFFING.DW_STAFFING.STARTING GE '01/01/2006';
ON TABLE PCHOLD FORMAT EXL2K
This message has been edited. Last edited by: karinC,
I don't want the date to be a sort date because I don't want that to be the first field. Please let me kno what I'm doing wrong?This message has been edited. Last edited by: karinC,
Since you metioned the date as a sorting field I put it there as an invisible field but it's still not working... First I did it as a BY then I did it as PRINT and none are working
PRINT DW_STAFFING.DW_STAFFING.STARTING NOPRINT
DW_STAFFING.DW_STAFFING.STAFF_ID
DW_STAFFING.DW_STAFFING.LAST01
DW_STAFFING.DW_STAFFING.FIRST
DW_STAFFING.DW_STAFFING.MIDDLE
DW_STAFFING.DW_STAFFING.ASSIGNMENT_STATUS
DW_STAFFING.DW_STAFFING.STAFF_GROUP
DW_STAFFING.DW_STAFFING.STARTING
DW_STAFFING.DW_STAFFING.ENDING
WHERE DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE LIKE 'S%';
WHERE DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE NE 'S10' OR 'S11';
WHERE DW_STAFFING.DW_STAFFING.STARTING GE '01/01/2006';
Sorry I don't have full picture so can't say what exactly you are trying to do but if I were you I would start with something like this:-
TABLE FILE DW_STAFFING
PRINT
DW_STAFFING.DW_STAFFING.STARTING
DW_STAFFING.DW_STAFFING.ENDING
BY LOWEST DW_STAFFING.DW_STAFFING.STAFF_ID
BY DW_STAFFING.DW_STAFFING.LAST01
BY DW_STAFFING.DW_STAFFING.FIRST
BY DW_STAFFING.DW_STAFFING.MIDDLE
BY DW_STAFFING.DW_STAFFING.STAFF_GROUP
BY DW_STAFFING.DW_STAFFING.ASSIGNMENT_STATUS
WHERE
DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE LIKE 'S%';
WHERE
DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE NE 'S10' OR 'S11';
WHERE
DW_STAFFING.DW_STAFFING.STARTING GE '01/01/2006';
ON TABLE PCHOLD FORMAT EXL2K
END
WebFOCUS 7.7. Windows Server 2008. All Outputs.
WEBFOCUS 7.6.11. Windows Server 2003. All Outputs.
I'm wondering if I show you an example of what I'm trying to do would help (for example I would like to see all the dates this ID was under the ASSIGNMENT_ORG_CODE that starts with an S%) does it make more sense? It can happen several times.
STAFF_ID LAST01 FIRST MIDDLE ASSIGNMENT STATUS STAFF_GROUP ASSIGNMENT_ORG_CODE STARTING ENDING
A465 DOE JOE KEN P 215 S72 01/16/2006 06/06/2006
P 215 S92 08/13/2006 07/13/2007
P 215 S76 08/06/2006 08/31/2007
P 215 S61 09/30/2006 10/10/2010
P038 DOE JANE JANE P 215 S93 01/17/2006 03/14/2007
Originally posted by Jump_faster: Sorry I don't have full picture so can't say what exactly you are trying to do but if I were you I would start with something like this:-
TABLE FILE DW_STAFFING
PRINT
DW_STAFFING.DW_STAFFING.STARTING
DW_STAFFING.DW_STAFFING.ENDING
BY LOWEST DW_STAFFING.DW_STAFFING.STAFF_ID
BY DW_STAFFING.DW_STAFFING.LAST01
BY DW_STAFFING.DW_STAFFING.FIRST
BY DW_STAFFING.DW_STAFFING.MIDDLE
BY DW_STAFFING.DW_STAFFING.STAFF_GROUP
BY DW_STAFFING.DW_STAFFING.ASSIGNMENT_STATUS
WHERE
DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE LIKE 'S%';
WHERE
DW_STAFFING.DW_STAFFING.ASSIGNMENT_ORG_CODE NE 'S10' OR 'S11';
WHERE
DW_STAFFING.DW_STAFFING.STARTING GE '01/01/2006';
ON TABLE PCHOLD FORMAT EXL2K
END
I tried this again but I am still not having any luck
The reason it was not working is because the field I was grabbing was only set up to give us only the last dates. There was a child table that had all the dates. I asked the person that was in charge of building our reporting objects. This table that contain this field was not included there. I tried the PRINT the date fields first and the rest as BY and it worked like a charm! Thanks everyone for all of your help!
You're using a reporting object and info assist--is it possible that the reporting object itself places a limit on the number of dates for each result.
TABLE FILE CAR
SUM DCOST
BY COUNTR BY CAR
ON TABLE SET PAGE-NUM OFF
-*ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=COUNTRY,SEQUENCE=3, $
TYPE=REPORT, COLUMN=CAR, SEQUENCE=1, $
TYPE=REPORT, COLUMN=DCOST, SEQUENCE=2, $
ENDSTYLE
END
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005