If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: EXCLUDE in Transformers  (Read 2155 times)

Offline bwalikar

  • Full Member
  • ***
  • Join Date: Mar 2015
  • Posts: 38
  • Forum Citizenship: +0/-0
EXCLUDE in Transformers
« on: 28 Dec 2015 09:34:17 pm »
Hi All,

I have a requirement where in a dimension Dim1 has 4 possible values ( a,b,c,d ). Two cubes are being created from my mdl file.

a) Non-Admin cube Should show only a,b for Dim1
b) Admin cube should show all values (a,b,c,d) for Dim1

Dimension source is a column from fact table.

Current approach followed is : I have created 2 separate dimensions under Dimension map(AdminDim1 and Non-AdminDim1) and 2 cubes (Admin and Non Admin)
in non-admin version of the Dimension : I have used "Exclude" in the categories window to exclude "c" and "d" categories.

In Admin cube I have Omitted the Non-Admin version of the dimension and vice versa for Non-admin.

Problem here is "Exclude" seems to exclude the categories from both the Cubes. Please suggest an alternative or work around for the same approach.

Offline bdbits

  • Super Moderator
  • Statesman
  • ******
  • Join Date: Feb 2010
  • Posts: 1,822
  • Forum Citizenship: +106/-0
Re: EXCLUDE in Transformers
« Reply #1 on: 29 Dec 2015 10:00:39 am »
I think you will want to use custom views. The following section of the user guide explains it pretty well, I think, and is rather similar to your situation.

http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.1/com.ibm.swg.ba.cognos.ug_cogtr.10.2.1.doc/t_adddimview.html%23AddDimView


Offline bwalikar

  • Full Member
  • ***
  • Join Date: Mar 2015
  • Posts: 38
  • Forum Citizenship: +0/-0
Re: EXCLUDE in Transformers
« Reply #2 on: 29 Dec 2015 07:38:57 pm »
Thanks a lot !! That really helped  :)