How to create a count (calculated measure) in a cube using SQLServer
7.0 OLAP Manager(not SQLServer 2000)
For eg.
My fact table record is:
P_Id, L_Id, T_Id, S_Id, xmeas1, ymeas2
with P, L, T and S as dimensions
I need to have count of P as a measure.
If I use the usual 'COUNT' function or count(distinct
(P.P_Id.Members)), I get the dimension P's count.
What I need is a count of P for any combination with other dimensions.
7.0 OLAP Manager(not SQLServer 2000)
For eg.
My fact table record is:
P_Id, L_Id, T_Id, S_Id, xmeas1, ymeas2
with P, L, T and S as dimensions
I need to have count of P as a measure.
If I use the usual 'COUNT' function or count(distinct
(P.P_Id.Members)), I get the dimension P's count.
What I need is a count of P for any combination with other dimensions.