MDX Puzzle #7

Who is online?  0 guests and 5 members
Home  »  Blogs  »  PatrickLeBlanc  »  MDX Puzzle #7
 
0
/5
Avg: 0/5: (0 votes)

Comments (4)

DustinRyan
DustinRyan said:

I got this junk!

8/30/2010
 · 
 
by
PatrickLeBlanc

LOL!  Nice.  Now modify the query to correctly evaluate the calculation without using Source Currency Code in your tuple.

8/30/2010
 · 
 
by
Kirman
Kirman said:

I am trying with the CASE and it is not working kindly help

 

  

   

 

 

 

 

  

WITH

 

MEMBER MEASURES.CURRENCY

AS

CASE

 

WHEN [Dim Currency].[Dim Currency].[CURRENTMEMBER] IS

[Dim Currency].[Dim Currency].

&[100]

 

THEN

 

"US"

ELSE

 

"INTERNATIONAL"

END

SELECT

 

{CURRENCY,[Measures].[Sales Amount - Fact Reseller Sales]}

 

on

0,

([Dim Currency].[Dim Currency].

 

members) ON

1

FROM

 

[AdventureWorksDW_Cube];

 

9/4/2010
 · 
 
by
samikane
samikane said:

Here is the MDX Puzzles index: http://ssas-wiki.com/w/Articles#MDX_Puzzles

2/23/2011
 · 
 
by
Blogs RSS Feed

PatrickLeBlanc's latest blog posts

Blogs RSS Feed

Latest community blog posts