![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#3
| |||
| |||
|
|
when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#4
| |||
| |||
|
|
Thanks for your help. My problem lies at the processing time. The cube will not process as it cannot find the member in the fact table. If possible I do not want to modify the table in SQL. This functioned fine in AS2000 thus it should be possible? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:u6jkwBlQGHA.1416 (AT) TK2MSFTNGP12 (DOT) phx.gbl... when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#5
| |||
| |||
|
|
Thanks for your help. My problem lies at the processing time. The cube will not process as it cannot find the member in the fact table. If possible I do not want to modify the table in SQL. This functioned fine in AS2000 thus it should be possible? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:u6jkwBlQGHA.1416 (AT) TK2MSFTNGP12 (DOT) phx.gbl... when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
The error I get is: The attribute key cannot be found.. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23KEHsdlQGHA.2300 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Thanks for your help. My problem lies at the processing time. The cube will not process as it cannot find the member in the fact table. If possible I do not want to modify the table in SQL. This functioned fine in AS2000 thus it should be possible? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:u6jkwBlQGHA.1416 (AT) TK2MSFTNGP12 (DOT) phx.gbl... when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#8
| |||
| |||
|
|
ok, its the error I've described, your fact table contain a product id which is missing in the product dimension. this error occurs when you have no referential integrity between the 2 tables and when you optimize the cube. first solution: insure that the product dimension contain all your products. (add missing products in the product table) second option: don't optimize the cube, so AS will execute a query with a inner join clause between the 2 tables, so the cube will be processed with rows with existing members in the dimension. (this reduce the processing time due to the extra join) to undo what the optimize action do, you have to change the key column of the product dimension to use the key from the dimension table instead-iof the key from the fact table. third option: when you process the cube, chosse the option to ignore all your errors. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:elMbg4lQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... The error I get is: The attribute key cannot be found.. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23KEHsdlQGHA.2300 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Thanks for your help. My problem lies at the processing time. The cube will not process as it cannot find the member in the fact table. If possible I do not want to modify the table in SQL. This functioned fine in AS2000 thus it should be possible? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:u6jkwBlQGHA.1416 (AT) TK2MSFTNGP12 (DOT) phx.gbl... when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
#9
| |||
| |||
|
|
Thanks, I am positive that my fact table is missing the product (it does exist in the dimension table) How do I not optimize the cube? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:ecuTtLmQGHA.5520 (AT) TK2MSFTNGP10 (DOT) phx.gbl... ok, its the error I've described, your fact table contain a product id which is missing in the product dimension. this error occurs when you have no referential integrity between the 2 tables and when you optimize the cube. first solution: insure that the product dimension contain all your products. (add missing products in the product table) second option: don't optimize the cube, so AS will execute a query with a inner join clause between the 2 tables, so the cube will be processed with rows with existing members in the dimension. (this reduce the processing time due to the extra join) to undo what the optimize action do, you have to change the key column of the product dimension to use the key from the dimension table instead-iof the key from the fact table. third option: when you process the cube, chosse the option to ignore all your errors. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:elMbg4lQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... The error I get is: The attribute key cannot be found.. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23KEHsdlQGHA.2300 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Thanks for your help. My problem lies at the processing time. The cube will not process as it cannot find the member in the fact table. If possible I do not want to modify the table in SQL. This functioned fine in AS2000 thus it should be possible? Clint "Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote in message news:u6jkwBlQGHA.1416 (AT) TK2MSFTNGP12 (DOT) phx.gbl... when you access your cube, generally the non empty statement is used to eliminate unused members in a dimension. but if you want to insure that your dimension contains only used members you have to use a view instead of a table to fill the dimension, and in this view you have to filter the dimension table with used members into you SQL statement. another option is to remove unused rows from the database. "Clint" <ccpatriot12 (AT) yahoo (DOT) com> wrote in message news:%23uSqb7kQGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Hi all, How do I link a dimension table to the fact table when the dimension table contains more entries? eg: Fact Table: Bicycle Motorbike Car Dimension Table: Bicycle Motorbike Car Bus Train All I want is too see the data for Bicycle, Motorbike and car... And I dont want to modify my dimension table. Thanks Clint |
![]() |
| Thread Tools | |
| Display Modes | |
| |