![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Is there a way to replace a set of data in the cube, without going for a full process ? Curently I am facing a situation where the a data on a particualr date was incorrect and was processed into the cube. The data has been corrected and posted into the data warehouse but it needs to be corrected in the AS cube. If I do an incremental update then I understand that the data would get duplicated and the count would be doubled. One way is that I could do a full process for the cube which would be quite difficult as I would need to restore from my archives and process the old data. I am sure some of you might have faced a similiar situtation. PLease guide me on this. Thank you, Shirish |
#3
| |||
| |||
|
|
Can identify all the changes? If so you should be able to generate "delta" records that just reflect the movements in the values and process these as an incremental update. Below is a very simplistic example of what I am talking about. eg. Original Values ================ Product, Month, SalesAmount Product A, Oct 2005, 100 Product B, Oct 2005, 90 New values =============== Product, Month, SalesAmount Product A, Oct 2005, 110 Product B, Oct 2005, 70 would generate "delta" records of: Product, Month, SalesAmount Product A, Oct 2005, 10 Product B, Oct 2005, -20 You should be able to use these delta to incrementally process your cube to adjust the values -- Regards Darren Gosbell [MCSD] dgosbell_at_yahoo_dot_com Blog: http://www.geekswithblogs.net/darrengosbell In article <D8B1BFD1-65DE-4B57-B97F-F1B2EE50F916 (AT) microsoft (DOT) com>, ShirishNair (AT) discussions (DOT) microsoft.com says... Hi, Is there a way to replace a set of data in the cube, without going for a full process ? Curently I am facing a situation where the a data on a particualr date was incorrect and was processed into the cube. The data has been corrected and posted into the data warehouse but it needs to be corrected in the AS cube. If I do an incremental update then I understand that the data would get duplicated and the count would be doubled. One way is that I could do a full process for the cube which would be quite difficult as I would need to restore from my archives and process the old data. I am sure some of you might have faced a similiar situtation. PLease guide me on this. Thank you, Shirish |
#4
| |||
| |||
|
|
Thank you Darren, Your approach would work, a small doubt though, if I have a meassure which is count of records i.e. (count of sales trasanctions) then the count would get doubled up. One workaround is that, I should never use the count measure instead use sum which could be on a field in the table which would have value of 1 and 0. Is this the only way ? it would mean changing all the cubes shirish |
![]() |
| Thread Tools | |
| Display Modes | |
| |