Numeric data doubles every time TI process is run
Posted: Mon May 12, 2014 7:45 pm
Hi all,
I have a built a cube that loads data from ODBC datasource. The ($) amount values in the measure dimension have been set a Numeric and the date values as String. In addition, I created a view that zeros all the elements for all the dimensions of the cube. TI process has been written to load the cube. In the Maps tab, I chose to 'Accumulate Values' for correct calculation integrity for numeric cells since there are multiple records for the same cell in the datasource and I want the cube to show the sum of those records rather than showing just the latest value (if Store Values option is selected). In the Prolog tab, I used the ViewZeroOut function so the cube is clear before it hits the datasource. To overcome the issue of building up the string values (since Accumulate values has been selected) every time the process is run, I made necessary modifications in the Data tab using CellGetS and CellPutS functions. The cube does not have any rules written since there are no calculations and the cube should simply load the data as per the datasource.
On running the load cube TI process, it completes successfully. All the data appear fine and match as per data source. However, the next time the process is run (without any changes made), the numeric values keep doubling. String data appears fine though. I've tried my best and writing this question on forum because I'm stuck and cannot see any solution. Please guide me as to why the numeric data keeps doubling. Appreciate your time and help.
Thanks
I have a built a cube that loads data from ODBC datasource. The ($) amount values in the measure dimension have been set a Numeric and the date values as String. In addition, I created a view that zeros all the elements for all the dimensions of the cube. TI process has been written to load the cube. In the Maps tab, I chose to 'Accumulate Values' for correct calculation integrity for numeric cells since there are multiple records for the same cell in the datasource and I want the cube to show the sum of those records rather than showing just the latest value (if Store Values option is selected). In the Prolog tab, I used the ViewZeroOut function so the cube is clear before it hits the datasource. To overcome the issue of building up the string values (since Accumulate values has been selected) every time the process is run, I made necessary modifications in the Data tab using CellGetS and CellPutS functions. The cube does not have any rules written since there are no calculations and the cube should simply load the data as per the datasource.
On running the load cube TI process, it completes successfully. All the data appear fine and match as per data source. However, the next time the process is run (without any changes made), the numeric values keep doubling. String data appears fine though. I've tried my best and writing this question on forum because I'm stuck and cannot see any solution. Please guide me as to why the numeric data keeps doubling. Appreciate your time and help.
Thanks