Function or Rule to return the count of elements in a DIM
Posted: Fri Oct 16, 2009 4:27 pm
Hello all!
Is there a function that returns the count of dimension elements (N-Level specifically) for a given cell value?
For example If I have a 6 dimension sales cube with store, product, period, category, employee, and scenario and I am looking at ALL Stores (Top Consolidation) and the total amount for a given product. I would like to also be able to show the number of stores that actually had sales for that product (see below).
SalesCube:Stores ALL
SalesCube:Period OCT-09
SalesCube:Employee ALL
SalesCube:Category New
Quantity Amount # of Stores
Product A 53 $622.32 43
Product B 27 $322.99 9
Product C 15 $230.64 5
I would there is a Worksheet function to do this but I would also settle for a rule based function.
Any help is greatly appreciated!
~Kevin B.
Cognos TM1 v9.4 MR1 Windows 2003 Server 32-bit 3GB RAM
Is there a function that returns the count of dimension elements (N-Level specifically) for a given cell value?
For example If I have a 6 dimension sales cube with store, product, period, category, employee, and scenario and I am looking at ALL Stores (Top Consolidation) and the total amount for a given product. I would like to also be able to show the number of stores that actually had sales for that product (see below).
SalesCube:Stores ALL
SalesCube:Period OCT-09
SalesCube:Employee ALL
SalesCube:Category New
Quantity Amount # of Stores
Product A 53 $622.32 43
Product B 27 $322.99 9
Product C 15 $230.64 5
I would there is a Worksheet function to do this but I would also settle for a rule based function.
Any help is greatly appreciated!
~Kevin B.
Cognos TM1 v9.4 MR1 Windows 2003 Server 32-bit 3GB RAM