dbTalk Databases Forums  

Calculated Measure in Analysis Services 2005 CUBES

comp.databases.olap comp.databases.olap


Discuss Calculated Measure in Analysis Services 2005 CUBES in the comp.databases.olap forum.



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

Default Calculated Measure in Analysis Services 2005 CUBES - 11-16-2006 , 02:17 PM






I am trying to create a calculated member with multiple dimensions as
conditions.

Same thing can be acheived by below SQL Script.

SELECT SUM(f.Amt)
FROM Fact f
inner join dimension1 d1 on d1.d1_ID = f.d1_ID
inner join dimension2 d2 on d2.d2_ID = f.d2_ID
inner join dimension3 d3 on d3.d3_ID = f.d3_ID
where d2.Num = 20 and d3.index >=100 and d3.index <=500

Num is a column in d2 table and index is a column in d3 table.

Please advise.

Thanks,
Dana


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.