<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Davy&#039;s Blog &#187; OLAP</title>
	<atom:link href="http://blog.davyknuysen.be/tag/olap/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davyknuysen.be</link>
	<description>My Blog on Microsoft BI</description>
	<lastBuildDate>Wed, 27 Jul 2011 21:30:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>XMLA script to deploy MDX Calculations</title>
		<link>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</link>
		<comments>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:13:21 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[OLAP]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</guid>
		<description><![CDATA[At a current project I needed to create a deploy script for the MDX calculations of a cube. SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX [...]]]></description>
			<content:encoded><![CDATA[<p>At a current project I needed to create a deploy script for the MDX calculations of a cube.</p>
<p>SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX calculations. Because I needed to resolve a bug in the calculations but the rest of the cube was not ready to be deployed to production yet, I had to create an alter script just for the MDX.</p>
<p>Of course I could have started learning the XMLA-syntax to write a script for this, but I decided to go for the easy way: the <strong>BIDSHelper</strong> has an option to deploy the MDX to a cube without having to deploy the entire cube.</p>
<p>If you don’t know <strong>BIDSHelper</strong>, or don’t already have it installed, go to <a href="http://www.codeplex.com/bidshelper">http://www.codeplex.com/bidshelper</a>. <strong>This is a must have add-in for all SSAS and SSIS developers!</strong></p>
<p>But as I was allowed to use Management Studio to makes changes to the cubes in the development environment only. So I needed to capture the XMLA script the <strong>BIDSHelper</strong> executes on the cube, to deploy the same script to the production environment.</p>
<p>That what the profiler is for, not? J</p>
<p>Open the SQL Server Profiler, create a new trace and connect to the analysis services instance. Use a blank template and switch to the tab “Events Selection”. The only event we want to capture here is “Command Begin”.</p>
<p>Click Run.</p>
<p>Now the profiler is ready to capture the XMLA-script, so switch back to Management Studio and use the BIDSHelper to deploy the MDX calculations. When the deploy is finished you can stop the trace.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="628" height="396" /></a></p>
<p>The profiler should have captured 2 events. The event with subclass “Alter” is the one we need.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="628" height="397" /></a></p>
<p>Copy the script from the profiler to a new XMLA script in Management Studio.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="441" height="412" /></a></p>
<p>The last 3 lines (PropertyList) can be deleted.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="628" height="203" /></a></p>
<p>In the node “ObjectDefinition” you will find your script.</p>
<p>Enjoy!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2010%2F05%2F05%2Fxmla-script-to-deploy-mdx-calculations%2F&amp;title=XMLA%20script%20to%20deploy%20MDX%20Calculations" id="wpa2a_2"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OLAP Reporting with Excel 2007: Use Member Properties!!</title>
		<link>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/</link>
		<comments>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 20:55:17 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[OLAP]]></category>
		<category><![CDATA[Pivot Table]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=76</guid>
		<description><![CDATA[Excel 2007 is great tool for browsing OLAP cubes. But 1 thing a lot of people don&#8217;t know about or at least don’t use enough, is Member Properties. When they want to add a property of a specific attribute, they just check this item in the field list. By using it this way, you&#8217;re kind [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Excel 2007</strong> is great tool for browsing OLAP cubes. But 1 thing a lot of people don&#8217;t know about or at least don’t use enough, is <strong>Member Properties</strong>.</p>
<p>When they want to add a property of a specific attribute, they just check this item in the field list. By using it this way, you&#8217;re kind of building hierarchies between all the selected attributes, therefore all possible relationships must be checked. This of course has a huge performance impact.</p>
<p>There is an easier and better way that also makes loading the data a lot faster: <strong>Member Properties.</strong> The relationships between Members and their Properties is defined by specifying Attribute Relationships in Analysis Services.</p>
<p>Ever saw that Tooltip in Excel when you&#8217;re hovering your mouse over a field in the Pivot Table? This Tooltip shows all available Member Properties.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/tooltip.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tooltip" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/tooltip_thumb.jpg" border="0" alt="tooltip" width="428" height="420" /></a></p>
<p>But you can also display them on columns:</p>
<p>Click right on the field where you would like to display one or more properties for. Under &#8220;Show Properties in Report&#8221;, select the properties you would like to show.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/showproperties.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="show properties" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/showproperties_thumb.jpg" border="0" alt="show properties" width="425" height="585" /></a></p>
<p>By using Member Properties the layout will be better and your report will load<strong> a lot</strong> faster!</p>
<p><span style="text-decoration: underline;">Using Attributes:</span></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withattributes.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="with attributes" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withattributes_thumb.jpg" border="0" alt="with attributes" width="421" height="626" /></a></p>
<p><span style="text-decoration: underline;">Using Properties:</span></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withproperties.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="with properties" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withproperties_thumb.jpg" border="0" alt="with properties" width="414" height="482" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2009%2F08%2F03%2Folap-reporting-with-excel-2007-use-member-properties%2F&amp;title=OLAP%20Reporting%20with%20Excel%202007%3A%20Use%20Member%20Properties%21%21" id="wpa2a_4"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

