Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > Random Procrastination
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

MDX needs a function or macro syntax

This is a discussion on MDX needs a function or macro syntax within the Random Procrastination forums, part of the CORTEX Blogs category; I was having an interesting discussion with a few people about the impact of named sets on performance (the same discussion noted by Chris Webb here: http://cwebbbi.wordpress.com/2011/03...n-calculations ). And apparently ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 8th February 2012, 01:25 AM   #1
Senior Member
 
Join Date: Jun 2009
Posts: 63
Darren Gosbell is on a distinguished road
Thumbs up MDX needs a function or macro syntax

I was having an interesting discussion with a few people about the impact of named sets on performance (the same discussion noted by Chris Webb here: http://cwebbbi.wordpress.com/2011/03...n-calculations). And apparently the core of the performance issue comes down to the way named sets are materialized within the SSAS engine. Which lead me to the thought that what we really need is a syntax for declaring a non-materialized set or to take this even further a way of declaring an MDX expression as function or macro so that it can be re-used in multiple places. Because sometimes you do want the set materialised, such as when you use an ordered set for calculating rankings. But a lot of the time we just want to make our MDX modular and want to avoid having to repeat the same code over and over.

I did some searches on connect and could not find any similar suggestions so I posted one here: https://connect.microsoft.com/SQLSer...unction-syntax

Although apparently I did not search quite hard enough as Chris Webb made a similar suggestion some time ago, although he also included a request for true MDX stored procedures (not the .Net style stored procs that we have at the moment): https://connect.microsoft.com/SQLSer...-on-the-server

Chris also pointed out this post that he did last year http://cwebbbi.wordpress.com/2010/09/13/iccube/ where he pointed out that the icCube product already has this sort of functionality.

So if you think either or both of these suggestions is a good idea then I would encourage you to click on the links and vote for them.




Get More from the original blog...
Darren Gosbell is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MDX needs a function or macro syntax Darren Gosbell Random Procrastination 0 17th March 2011 03:51 PM
Liquidity policy a macro lever Latest News Headlines 2010 Q1 News Headlines 0 1st February 2010 02:15 PM
Validating MySQL data entry with triggers: A quick look at the SIGNAL syntax Latest News Headlines DWH Tip Feeds 0 16th December 2009 06:07 AM
MySQL: Refactoring a Stored Function Latest News Headlines DWH Tip Feeds 0 25th November 2009 11:03 AM
Maturity of the Reporting Function Infohrm Infohrm 0 18th September 2009 12:58 AM


All times are GMT +11. The time now is 03:59 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO