on 03-14-2007 11:33 AM
Hello,
I have a characteristic in a cube that I want to change its value from X to Y. I know that in an ODS I can do update rule to itself and in the start routine to change the value (it is possible because in ODS the key figure can be overwritten).
How can I do it in a cube?
David
hi,
One option is that you'll have to chage it in the update rouitne and reload the data from PSA. Before you need to delete the data.
And the second one i could think is that try to write an ABAP code on the dim table to change it from X to Y. But i was not sure how this will react. Never tried it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would do an update rule from the cube's export DataSource back to itself (or a transformation in 2004s). In the start routine, you can make 2 copies of each record.
In one copy, reverse the value of all the key figures so that the existing record will have zero values after update.
In the other copy, set the characteristic to the new value that you want it to have, leaving the original key figures intact.
This will make the totals the way you need them. If you have a need to remove those records, you can either do a compression that removes zeroes or a selective deletion on the same set of records that you selected for this update.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.