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 have 4 BY fields: Area, Dist, Repname & Rep ID. Since I want these to print on every line, I have made the BY fields invisible and then repeated them as SUM--MAX fields. (The rest of the fields are all SUM fields).
Question: Why does it repeat certain reps as if they were unique in some way?!
COMPUTE UNITGROWTH/D12 = ( 2006TOTAL - 2005TOTAL ); BY 'SEG01.AREA' NOPRINT BY 'SEG01.DIST' NOPRINT BY 'SEG01.REPNAME' NOPRINT BY 'SEG01.PRVDRID' NOPRINT HEADING " " "2006 data actually 2004 for testing" WHERE ( RPT_UN_PRODLINE_BY_YR_FO.SALES_YEAR IN (2004,2005,2006) ) AND ( RPT_UN_PRODLINE_BY_YR_FO.REG_INVO_UN NE 0 ) OR ( RPT_UN_PRODLINE_BY_YR_FO.SMPL_INVO_UN NE 0 ); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL2K
Thanks, Tony! (Yup, Trom Bone BY DISPLAY ON is a lot simpler, Derp.
Actually, this problem happens even with the BY fields visible, and it seems to revolve around the name field. When I removed my defined field, Repname, and used the raw Lastname data, it sorted and summed fine. However, when I added Firstname and MI (still raw data), even more reps are repeated. I am suspecting spaces vs. nulls in our files? (The raw data contains numerous rows for each rep, and units data which is what I am summing.) Thanks again for your help! "Mort"