![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm having a problem with the SetCurrentDay DTS package of the BI Accelerator. I'm loading a set of data using text files therefore I'm using Master_Import.dts and Master_Update.dts unchanged. Then y run the VBScripts that are alsgo generated by Accelerator (VAMPanorama1_Load_VAMPanorama.vbs). This loads the data from text files into the Staging Database and SM Database, and also runs the Set Current Day package with a fixed date of "2001-12-31". The problem is data for the year of the Current Date is multiplied by a factor of six. Now, when I run SetCurrentDay Package Alone, to try to set a new date (say "2003-07-01") either opening the package in Enterprise Manager and changing the global variable, or using DTSRUN utility I get the same problem. The data es multiplied by a factor of 6 for the year 2003 and data for 2002 and 2001 shows up correctly at the year, qtr and month level. Has anoyone seen something like this? am I doing something wrong here? Any help is appreciated, Thanks, Ricardo Sada rsada (AT) solcominter (DOT) com ricardo_sada (AT) yahoo (DOT) com.mx |
#3
| |||
| |||
|
|
I have a very similar problem I was going to post about. In my case the measures data is multiplied by 4. A workaround I have found is to select the current year in the Time.Standard dimension, and also select the current year in the Week.Standard dimension. Then the values in the measures are correct. Another workaround is to remove manually the Week.Standard dimension from the cube after the cubes have been created. Then save and reprocess the cube. I'm sure I must be doing something wrong at some stage, and I'd really be interested to hear suggestions. -----Original Message----- Hi, I'm having a problem with the SetCurrentDay DTS package of the BI Accelerator. I'm loading a set of data using text files therefore I'm using Master_Import.dts and Master_Update.dts unchanged. Then y run the VBScripts that are alsgo generated by Accelerator (VAMPanorama1_Load_VAMPanorama.vbs). This loads the data from text files into the Staging Database and SM Database, and also runs the Set Current Day package with a fixed date of "2001-12-31". The problem is data for the year of the Current Date is multiplied by a factor of six. Now, when I run SetCurrentDay Package Alone, to try to set a new date (say "2003-07-01") either opening the package in Enterprise Manager and changing the global variable, or using DTSRUN utility I get the same problem. The data es multiplied by a factor of 6 for the year 2003 and data for 2002 and 2001 shows up correctly at the year, qtr and month level. Has anoyone seen something like this? am I doing something wrong here? Any help is appreciated, Thanks, Ricardo Sada rsada (AT) solcominter (DOT) com ricardo_sada (AT) yahoo (DOT) com.mx . |
#4
| |||
| |||
|
|
-----Original Message----- I tried your workaround (delete the Week.Standard Dim) and now I get my data right in my Time.Standard dimension. Week.Standard aggregated ok to the year level though (before I deleted it). How can this virtual dimension be affecting the I tried the RA model that comes with Accelerator and got the same problem so this seems to be common. what do you mean by "select the current year in the Time.Standard dimension, and also select the current year in the Week.Standard dimension"??. are you modifying the custom members formula? or you mean in an MDX statement?. Thanks. I have a very similar problem I was going to post about. In my case the measures data is multiplied by 4. A workaround I have found is to select the current year in the Time.Standard dimension, and also select the current year in the Week.Standard dimension. Then the values in the measures are correct. Another workaround is to remove manually the Week.Standard dimension from the cube after the cubes have been created. Then save and reprocess the cube. I'm sure I must be doing something wrong at some stage, and I'd really be interested to hear suggestions. -----Original Message----- Hi, I'm having a problem with the SetCurrentDay DTS package of the BI Accelerator. I'm loading a set of data using text files therefore I'm using Master_Import.dts and Master_Update.dts unchanged. Then y run the VBScripts that are alsgo generated by Accelerator (VAMPanorama1_Load_VAMPanorama.vbs). This loads the data from text files into the Staging Database and SM Database, and also runs the Set Current Day package with a fixed date of "2001-12-31". The problem is data for the year of the Current Date is multiplied by a factor of six. Now, when I run SetCurrentDay Package Alone, to try to set a new date (say "2003-07-01") either opening the package in Enterprise Manager and changing the global variable, or using DTSRUN utility I get the same problem. The data es multiplied by a factor of 6 for the year 2003 and data for 2002 and 2001 shows up correctly at the year, qtr and month level. Has anoyone seen something like this? am I doing something wrong here? Any help is appreciated, Thanks, Ricardo Sada rsada (AT) solcominter (DOT) com ricardo_sada (AT) yahoo (DOT) com.mx . . |
#5
| |||
| |||
|
|
OK, here is what I've found out: In the Item Sale cube of the RA database, there is a PRIVATE dimension Week.Standard. This dimension has the following problem: At the Day level, the member key column is set to "Fact_ItemSale"."WEEK_Std_DAY_Idx", but the table "Fact_ItemSale" has no column "WEEK_Std_DAY_Idx". Instead in the right hand pane of the cube editor (the database diagram), the "Week_idx" field from "Dim_Week_Std_Week" is correctly (???) linked to the field "Std_Week_idx" of "Dim_Time_Day". Now, the RA database (where Item Sale cube belongs) has a SHARED dimension Week.Standard. In this shared week dimension the member key column of the Day level is "Dim_Time_Day"."Day_Idx", which seems to be correct. Why is there a private Week dimension in the Item Sale cube is the next question. |
![]() |
| Thread Tools | |
| Display Modes | |
| |