Hello all -
I have not done much in SSAS, but my employer is reaching the stage where we are going to need to use SSAS.
So, I decided, because of the way we want to proceed to first create our fact and dimension tables. We do this processing at night to pull data from the source system into our 'data warehouse' database fact and dimension tables.
I created a data source connection to our data warehouse database in our SSAS project. Next, I created a data source view that included just the fact and dimension tables and excludes staging tables.
I used the cube wizard to build the cube. Then pressed the execute button in BIDS to build and deploy the cube.
As expected for a first time effort, I got some warnings and errors. I attribute the errors, based on what they say to the warnings, we are provided below:
Warning1 Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_tbl_InvoiceServiceLineFact, Column: itemkey, Value: 93017.00Warning2 Errors in the OLAP storage engine: The record was skipped because the attribute key was not found. Attribute: Tbl Item Dimension of Dimension: Tbl Item Dimension from Database: WFR_AS, Cube: WFR Davisware WH, Measure Group: Tbl Invoice Service Line Fact, Partition: Tbl Invoice Service Line Fact, Record: 153. 00
Error3 Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.00
Error4 Errors in the OLAP storage engine: An error occurred while processing the 'Tbl Invoice Service Line Fact' partition of the 'Tbl Invoice Service Line Fact' measure group for the 'WFR Davisware WH' cube from the WFR_AS database.00
Error5 Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.00
Error6 Errors in the high-level relational engine. The database operation was cancelled because of an earlier failure.00
Error7 Errors in the OLAP storage engine: An error occurred while processing the 'Tbl Service Order Fact' partition of the 'Tbl Service Order Fact' measure group for the 'WFR Davisware WH' cube from the WFR_AS database.00
Now, I may not be reading the warnings correctly, but as I read the first warning, it is telling me that there is something wrong with my table,
tbl_InvoiceServiceLineFact, where the value 93017 occurs in the itemkey column of that table.
The next warning would seem to indicate that row 153 in tbl_InvoiceServiceLineFact has an attribute key (itemkey) that tries to reference the dimension table, tbl_ItemDimension but cannot. It would seem then that the row that should exist in tbl_ItemDimension for an itemkey value of 93017 is not there.
Is that what these warnings are saying? Because here's the thing that is giving me braincramps...
SELECT [itemkey] FROM [dbo].[tbl_InvoiceServiceLineFact] AS tislf WHERE [itemkey] NOT IN (SELECT [itemkey] FROM [dbo].[tbl_ItemDimension] AS tid)returns no rows... in other words there is no row in the invoice service line fact table where an itemkey value exists that doesn't also exist in the item dimension table.
Further, if I run SELECT TOP 153 [itemkey] FROM [dbo].[tbl_InvoiceServiceLineFact] and then look at the itemkey value for row 153, it is 93017!
I really need some help understanding what is happening here.
Thanks in advance for any assist.