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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Join help
 Login/Join
 
Platinum Member
posted
I'm trying to build a report that tracks items sold to certain locations.

The items would be stored in a hold file...say 10 items, and then would be joined to another file which is grouped by location then item then a total (dollar amount).

What I need the report to show is all 10 items on the final report regardless of whether or not the item has a dollar amount attached. The problem I'm having is that the file that contains the sell infomration would not have a key for that item to join to because it does not have a previous sale. So the final report only shows the items with sales information.

Is there a way to do this?

I already tried using the hold file (with items) as the main table and joining to the sales info file but every field outside of the item number comes up as missing data.

Any help would be great, thanks.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Virtuoso
posted Hide Post
Have you tried using Match instead of a Join?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Yeah I tried using OLD as the match delimieter and got the same results.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Platinum Member
posted Hide Post
Eric,

Try

SET ALL = ON
JOIN itemnum IN ITEM to ALL itemnum IN SALES as J1
TABLE FILE ITEM
...
...
END

Kevin


WF 7.6.10 / WIN-AIX
 
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005Report This Post
Virtuoso
posted Hide Post
I agree with Kevin, Eric, you want the 'short path' items as well, so set all = on should work. Match would work also, but I've found in order to have meaningful information in a match when there are missing values in one file use more 'By' values. Also, you need to use the base file with all you want to report as the first.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
I got it working, thanks guys.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders