dbTalk Databases Forums  

MDX Calculated Member?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MDX Calculated Member? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nick
 
Posts: n/a

Default MDX Calculated Member? - 05-12-2005 , 11:18 AM






I have a column in the fact table: Sex: M or F. And I want to add a
calculated member (in the Cube Editor) to tell the count of M. I added the
following express in the calculated member express text box:

iif([Sex].[Sex]="M", 1, 0)

However, it always has syntax error. How to write the right one? Thanks. (I
know I can created a view do the convert, however, I want to try on Cube
level.)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.