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] Totals question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Totals question
 Login/Join
 
Member
posted
As an example there are two department stores in the given city. The are some customers that shop in both stores. So:

TABLE FILE STORES
SUM ONE AS 'CUST PER CITY'
BY CITY
SUM ONE AS 'CUST PER STORE'
BY CITY
BY STORE
WHERE CITY EQ 'MYCITY'

Results are:

CITY STORE CUST PER CITY CUST PER STORE
------ ----- ------------- --------------
MYCITY STORE1 5 2
STORE2 0 4

TOTAL MYCITY 5 6

Is there anyway I can total the 'CUST PER CITY' in to the 'CUST PER STORE' column as follows:


CITY STORE CUST PER CITY CUST PER STORE
------ ----- ------------- --------------
MYCITY STORE1 5 2
STORE2 0 4

TOTAL MYCITY 5 5

I tried it with subfoot but in my real report it seems to be very difficult to do.

This message has been edited. Last edited by: Kerry,
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
I don't see a difference between the two examples of what you have and what you want?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
I need to show the true number of customers per store - which is 2 + 4 =6. But in the total line in this column should show a unique number of customers which is 5. (1 customer shops in both stores).
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
You have to use the DST prefix and in fact build two separate reports. One to totalize number of clients per shop and one per city. So it is not a sum.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
I can do it using separate columns. Unfortunately the requirements are to use the same column.
 
Posts: 27 | Registered: April 18, 2008Report This Post
Virtuoso
posted Hide Post
Create two hold files first and combine that to one report
This is asked many times and there are several examples available.
Else look for mcguyver it is an elegant solution




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report 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] Totals question

Copyright © 1996-2020 Information Builders