COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => BI Modeling (Transformer) => Topic started by: cognosun on 16 Nov 2012 12:30:26 AM

Title: avoid duplicate values during cube refresh
Post by: cognosun on 16 Nov 2012 12:30:26 AM
There is this value in a cube, under a level , say ' customer sale'

Later this name got changed to 'customer- sale' in the database.

Now I want this new name ( 'customer- sale') to replace the old name.

What precausion do I need to take while cube refresh for this...because if I refresh cube without taking any precausions I'm seeing 2 such values?

Many thanks in advance

Title: Re: avoid duplicate values during cube refresh
Post by: Bark on 16 Nov 2012 05:17:49 AM
You need to delete the categories from the model before hitting "generate cube".

When you open Transformer and generate a cube, one of the steps is to generate all the categories from your sources. Well, this categories remain there unless you delete them so, if you don't, next time you generate de cube, it will bring the new ones but the old ones will still be there.

Regards,

Bark
Title: Re: avoid duplicate values during cube refresh
Post by: cognosun on 17 Nov 2012 10:54:16 AM
Thanks Bark, that is a good suggestion.
Title: Re: avoid duplicate values during cube refresh
Post by: Dev1975 on 18 Feb 2014 05:12:18 AM
Hi, I'm having a similar problem with a Customer cube at the moment. I've deleted the categories under "Customer" from the Categories window and then create the powercube, however the values are shown as duplicate. So, instead of one entry I am seeing two for each Customer.

Is there a way of enabling some tracing during the build process to see what is actually happening? Also, is there any other way of ensuring that duplicates are not generated during the cube build?

Many thanks,
Dev