Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

MDX calculated member question. pls help Expand / Collapse
Posted Friday, February 22, 2013 4:28 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, February 24, 2013 4:54 PM
Points: 1, Visits: 2
I have 3 dimension tables - team, gamedate and gameinfo. A fact table that has teamid,gamedateid. A bridge table that has gamedateid,gameinfoid. I created 2 measure groups one on fact table and one on bridge table and set up many to many dimension usage in the cube. I am trying to derive the following using calculated members and having trouble as I am new to mdx.

1)Count number of other games that happened between game1 and the following game1.

I am using following query - getting the first and last date for game1 using head and tail functions and getting other gamecount but getting error:The : function expects a member expression for the 1 argument. A tuple set expression was used.

from [game]
Post #1423289
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse