Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sqlserver 7 count measure

Status
Not open for further replies.

renu123

Programmer
Jun 11, 2001
43
IN
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top