Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Compose MDX graphically


Compose MDX graphically

Author
Message
VincentRainardi
VincentRainardi
SSC Journeyman
SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)

Group: General Forum Members
Points: 83 Visits: 191
Comments posted to this topic are about the item Compose MDX graphically
Peter Rijs
Peter Rijs
SSC Eights!
SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)

Group: General Forum Members
Points: 900 Visits: 602
I think this question doesn't provide the right answer with the 4 alternatives.

The answer should be BIDS, when developing a Reporting Services Project!

IMHO you can not do it in Reporting Services, as this is no GUI, but a service.

However, it points out an omission in SQL 2005: there is no quick, straightforward way to produce a MDX query by using GUI to build the query. My favorite solution in this will probably be the Profiler to catch the MDX statements that clients (Excel, ProClarity) send to AS.
Can anyone share whether there will be a more straightforward solution to this in SQL 2008 (hopefully SSMS2008)?

Peter Rijs
BI Consultant, The Netherlands
sgivoni
sgivoni
SSC Veteran
SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)

Group: General Forum Members
Points: 229 Visits: 67
I agree - the SSAS is a service and has no GUI - I instantly thought that it had to be Management Studio but I wasn't really aware that I couldn't get the MDX statement from browsing a cube... damn Ermm
VincentRainardi
VincentRainardi
SSC Journeyman
SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)

Group: General Forum Members
Points: 83 Visits: 191
Hi Peter and sgivoni,
yes you are right, the answer is not accurate and I apologise for that.
The correct answer should have been, as you said, in Reporting Services Project in BIDS.

Today I checked in the Feb CTP version of SQL Server 2008 and it's not there either.
In SSMS we can browse the cube but there is no facility to view the MDX.
Ditto for the "Browse Cube" tab in the Analysis Services Project in BIDS.
The only place in SQL Server 2008 where we can browse the cube and view the MDX is in the Query Designer of a Reporting Services Project.

Personally, in the current project I use ProClarity to browse a cube or view the MDX, rather than using using BIDS or SSMS. I found that the cube browser more user friendly. But to compose/type queries manually I use SSMS.

Kind regards,
Vincent
Yulia Golod
Yulia Golod
SSC Rookie
SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)

Group: General Forum Members
Points: 34 Visits: 40
Actually, one of the answers "management studio" is correct.
You can construct MDX graphically in Sql management studio while connected to Analysis Services
sgivoni
sgivoni
SSC Veteran
SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)

Group: General Forum Members
Points: 229 Visits: 67
Yulia Golod (3/4/2008)
Actually, one of the answers "management studio" is correct.
You can construct MDX graphically in Sql management studio while connected to Analysis Services


Yes, you can construct MDX graphically when browsing a cube, but NO you can't see the MDX statement behind - which was the question.
Peter Rijs
Peter Rijs
SSC Eights!
SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)SSC Eights! (900 reputation)

Group: General Forum Members
Points: 900 Visits: 602
In SSMS you can drag'n'drop elements from a list in a textual MDX query (when using the "New query" feature). However, you still got to make up the correct MDX statement in text.
Another option is to "Browse" a cube, here you can use a real GUI, but you can not view the MDX statement in text.

So, what we are looking for is a combination of those 2: create a query like "Browse", and see the MDX statement like in "New query". AFAIK, there is no direct way in 2005, and Vincent pointed out there will be no direct way in 2008 either. Crying

Peter Rijs
BI Consultant, The Netherlands
Will Riley
Will Riley
Valued Member
Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)

Group: General Forum Members
Points: 64 Visits: 199
I agree that MSFT still have some work to do in terms of giving us the ability to report off OLAP cubes in SSRS.

If you have Excel 2007, Marco Russo has a neat way (that I use) to view the MDX created from an Excel 2007 Pivot Table report

http://sqlblog.com/blogs/marco_russo/archive/2007/01/18/display-the-mdx-query-of-an-excel-2007-pivottable.aspx

Proclarity was/is my preferred tool though - the MDX produced is less "verbose"

Kind Regards, Will
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search