<?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; Reporting</title>
	<atom:link href="http://blog.davyknuysen.be/tag/reporting/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>Parent-Child hierarchies in Reporting Services</title>
		<link>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</link>
		<comments>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 10:28:32 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</guid>
		<description><![CDATA[Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect. A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. But when [...]]]></description>
			<content:encoded><![CDATA[<p><em>Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect.</em></p>
<p><em> </em></p>
<p><em>A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. </em></p>
<p><em>But when you add it to a Reporting Services report, you get something like this:</em></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="357" height="241" /></a></p>
<p><em>That’s not how we like to display a Parent-Child hierarchy to our users!</em></p>
<p><em>To display it with the expected drill-down you need to do some extra configuration:</em></p>
<p><em> </em></p>
<p><em>The following example uses the AdventureWorks example cube available on <a href="http://www.codeplex.com/">CodePlex</a>:</em></p>
<p>Create a new report and add a dataset with the following MDX query:</p>
<p>SELECT NON EMPTY { [Measures].[Amount] } ON COLUMNS,</p>
<p>NON EMPTY { (DESCENDANTS([Organization].[Organizations].[Organization Level 01].ALLMEMBERS) ) }</p>
<p>DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME, PARENT_UNIQUE_NAME,</p>
<p>LEVEL_NUMBER ON ROWS</p>
<p>FROM [Adventure Works]</p>
<p>CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,</p>
<p>FONT_NAME, FONT_SIZE, FONT_FLAGS</p>
<p>Add a Tablix<strong><em> </em></strong>to your report and drag the parent-child hierarchy “Organizations” en the fact “Amount” to the Detail Row of the Tablix.</p>
<p><strong>To enable drill-down you need to edit the Group Properties of the Row Group:</strong></p>
<p>Configure the group to iterate on the UniqueName of “Organizations”:</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="532" height="233" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="581" height="482" /></a></p>
<p>Go to the Advanced options and set the property “Recursive Parent” to the ParentUniqueName of “Organizations”.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="581" height="482" /></a></p>
<p>Change the visibility of this Group to “Hide” and check the option &#8220;Display can be toggled by this report item&#8221;. The toggle item should be the Textbox containing the Parent-Child hierarchy.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010.jpg"><img style="display: inline; border: 0px;" title="clip_image010" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010_thumb.jpg" border="0" alt="clip_image010" width="581" height="482" /></a></p>
<p><strong>Now optimize the layout by increasing the indent for the lower levels of the hierarchy:</strong></p>
<p>In the Textbox properties: set the following expression for &#8220;Padding &#8211; Left&#8221;:</p>
<p>=Cstr(Fields!Organizations.LevelNumber * 10) &amp; &#8220;pt&#8221;</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012.jpg"><img style="display: inline; border: 0px;" title="clip_image012" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012_thumb.jpg" border="0" alt="clip_image012" width="524" height="472" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014.jpg"><img style="display: inline; border: 0px;" title="clip_image014" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014_thumb.jpg" border="0" alt="clip_image014" width="581" height="532" /></a></p>
<p>Click Preview to test the report.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016.jpg"><img style="display: inline; border: 0px;" title="clip_image016" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016_thumb.jpg" border="0" alt="clip_image016" width="359" height="240" /></a></p>
<p>Look’s way better isn’t it?</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%2F04%2F16%2Fparent-child-hierarchies-in-reporting-services%2F&amp;title=Parent-Child%20hierarchies%20in%20Reporting%20Services" 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/04/16/parent-child-hierarchies-in-reporting-services/feed/</wfw:commentRss>
		<slash:comments>7</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>

