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]-error creating fact file n star schema

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed]-error creating fact file n star schema
 Login/Join
 
Silver Member
posted
Hi All,
I am getting following error while creating star schema through infoassist webconsole wizard
"The Fact table is the central table of a star schema.
The table that you selected (appolapdb/) cannot be joined, as a result no star schema can be generated.
A likely reason is missing foreign keys or matching field names.
"....

Please suggest me the solution for this....

following is the test database structure I created:

create table dim_datedetail(
datedetail_dateid numeric(18, 0) primary key,
datedetail_year nvarchar(50) null,
datedetail_quarter nvarchar(50) null,
datedetail_month nvarchar(50) null,
datedetail_day nvarchar(50) null,
);

create table dim_productdetail(
productdetail_productid numeric(18, 0) primary key,
productdetail_productname nvarchar(50) null,
productdetail_productfamily nvarchar(50) null,
productdetail_productgroup nvarchar(50) null,
productdetail_productsubcategory nvarchar(50) null,
productdetail_costperunit numeric(18,0) null
);

create table dim_salespersondetail(
salespersondetail_id numeric(18, 0) primary key,
salespersondetail_firstname nvarchar(50) null,
salespersondetail_lastname nvarchar(50) null,
);

create table dim_storedetail(
storedetail_storeid numeric(18, 0) primary key,
storedetail_country nvarchar(50) null,
storedetail_state nvarchar(50) null,
storedetail_city nvarchar(50) null,
storedetail_store nvarchar(50) null,
);

create table fact_salesdetail(
salesdetail_dateid_fk numeric(18, 0) references dim_datedetail(datedetail_dateid),
salesdetail_productid_fk numeric(18, 0) references dim_productdetail(productdetail_productid),
salesdetail_storeid_fk numeric(18, 0) references dim_storedetail(storedetail_storeid),
salesdetail__salespersondetail_id_fk numeric(18, 0) references dim_salespersondetail(salespersondetail_id),
salesdetail_sales numeric(18, 0) null,
salesdetail_units numeric(18, 0) null,
salesdetail_total_cost numeric(18, 0) null,
) ;

This message has been edited. Last edited by: kumud.vaish,


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
Platinum Member
posted Hide Post
Hi kumud.vaish,

what is the primary key of your fact table fact_salesdetail?? I think you will need one!!

Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
 
Posts: 156 | Location: Essen Germany | Registered: December 02, 2010Report This Post
Silver Member
posted Hide Post
Hi Christian,

Well the issue is resolved now. The conclusion I took out is we dont need to include the foreign keys during synonym creation in the wizard.

Please correct me If i am wrong here

-Regards
-Kumud Vaish


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report 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]-error creating fact file n star schema

Copyright © 1996-2020 Information Builders