<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tips, Tricks, and General Info on the Msft BI Platform : Report Builder</title><link>http://blogs.msdn.com/jbasilico/archive/tags/Report+Builder/default.aspx</link><description>Tags: Report Builder</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Demo files Used In My BI Conference Session...</title><link>http://blogs.msdn.com/jbasilico/archive/2008/10/07/demo-files-used-in-my-bi-conference-session.aspx</link><pubDate>Tue, 07 Oct 2008 17:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8985410</guid><dc:creator>jbasilico</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jbasilico/comments/8985410.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jbasilico/commentrss.aspx?PostID=8985410</wfw:commentRss><description>For those that attended my session (Designing Effective Dashboards with Msft BI Platform) at the 2nd annual Msft BI Conference in Seattle, and had asked for the demo files/projects, you can download my demo files &lt;A class="" title="Demo Files" href="https://cid-ec7dceca7086fd5c.skydrive.live.com/self.aspx/Public/Msft%20BI%20Conf%202008%20-%20Demo%20Files.zip" target=_blank mce_href="https://cid-ec7dceca7086fd5c.skydrive.live.com/self.aspx/Public/Msft%20BI%20Conf%202008%20-%20Demo%20Files.zip"&gt;here&lt;/A&gt;.&amp;nbsp; The zip file contains the SQL Server 2005 Reporting Services project file, SQL Server 2008 Report Builder file for the combined sparkline and bullet graph, PerformancePoint workspace file, and the "minimum" masterpage for MOSS.&amp;nbsp; Keep in mind that you'll need to alter the location of your Reporting Services installation, the&amp;nbsp;Analysis Services&amp;nbsp;AdventureWorks database, as well as the PPS service site on MOSS.&amp;nbsp; Enjoy!&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8985410" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Dashboard/default.aspx">Dashboard</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Report+Builder/default.aspx">Report Builder</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/PerformancePoint/default.aspx">PerformancePoint</category></item><item><title>Creating UDM Report Builder Models in SSRS-MOSS Integration Mode</title><link>http://blogs.msdn.com/jbasilico/archive/2008/01/31/creating-udm-report-builder-models-in-ssrs-moss-integration-mode.aspx</link><pubDate>Thu, 31 Jan 2008 19:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7353689</guid><dc:creator>jbasilico</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jbasilico/comments/7353689.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jbasilico/commentrss.aspx?PostID=7353689</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;I've seen this question come up on many a proof...and that is how do you generate Report Models off an Analysis Services UDM (OLAP cube) once you've put SQL Server 2005 Reporting Services into Microsoft Office SharePoint Server (MOSS) Integration Mode.&amp;nbsp; Well, when not in MOSS integration mode, it was rather simple...just deploy the data source to Analysis Services and then either use Report Manager or SQL Server Management Studio to generate the "model" off the data source.&amp;nbsp; So now you’re staring at the MOSS UI, but don't see a way of generating the UDM based model...well, you’re probably missing some MOSS configuration to enable report model generation.&amp;nbsp; The configuration you need is to enable multiple content types for the library your working with (for example the data connections library for the "Reports" subsite in MOSS), and then add report server types to that library.&amp;nbsp; I normally will go ahead and add the "Report Builder Report", "Report Model" and "Report Data Source" content types to the library.&amp;nbsp; For full details on how to configure these content types in MOSS, refer to this &lt;A href="http://msdn2.microsoft.com/en-us/library/bb326289.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/bb326289.aspx"&gt;BOL section&lt;/A&gt; from SQL Server 2005.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Once you've added these content types to the library...actually creating the Report Model from the UDM is rather easy, and it’s just two steps: 1) Create the Report Data Source (if not already deployed to the MOSS site), and 2) Create the Report Model.&amp;nbsp; With the new content types added to your MOSS library, both of these steps are as easy as clicking on the "New" item from the MOSS menu, and picking the correct item (either data source or model).&amp;nbsp; Obviously you'll want to generate the UDM model based from the UDM data source you created in step 1.&amp;nbsp; For full instructions on creating the Report Model from within MOSS, review this &lt;A href="http://msdn2.microsoft.com/en-us/library/bb326413.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/bb326413.aspx"&gt;BOL section&lt;/A&gt; from SQL Server 2005.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7353689" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Report+Builder/default.aspx">Report Builder</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>Implementing Parent-Child Relationships in Report Builder - Well Sort Of...</title><link>http://blogs.msdn.com/jbasilico/archive/2008/01/27/implementing-parent-child-relationships-in-report-builder-well-sort-of.aspx</link><pubDate>Sun, 27 Jan 2008 22:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7271266</guid><dc:creator>jbasilico</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jbasilico/comments/7271266.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jbasilico/commentrss.aspx?PostID=7271266</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Ok...everyone should know by now that SQL Server 2005's Report Builder doesn't support parent child relationships within a report model (think about the classic employee to supervisor hierarchy...or for another example, how a company may roll up into a parent company/entity).&amp;nbsp; So...how do you overcome this limitation of the SQL Server 2005's Report Builder/Model?&amp;nbsp; Well, unfortunately there isn't a simple answer or solution...but there is a partial workaround.&amp;nbsp; The workaround leverages SQL Server 2005's Common Table Expressions (CTE) and a compromise&amp;nbsp;by the&amp;nbsp;business users.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;First...lets tackle the compromise by the business users.&amp;nbsp; Since a parent-child hierarchy can be infinitely long...you'll need to pin down from the business users the anticipated largest depth of the hierarchy.&amp;nbsp; For example, does the employee to manager hierarchy have three levels, or four levels, or five levels deep?&amp;nbsp; Once you determine the longest "known" depth of the hierarchy, you'll use this knowledge to create a recursive query within the database to produce known levels for traversal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;The next step is to create a recursive query within the SQL Server 2005 database.&amp;nbsp; If you need to learn about the recursive query CTE, then read this &lt;A href="http://msdn2.microsoft.com/en-us/library/ms186243.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/ms186243.aspx"&gt;SS2K5 BOL entry&lt;/A&gt;, or check out this &lt;A href="http://www.sqlservercentral.com/articles/Development/recursivequeriesinsqlserver2005/1760/" target=_blank mce_href="http://www.sqlservercentral.com/articles/Development/recursivequeriesinsqlserver2005/1760/"&gt;great blog entry&lt;/A&gt; on the topic.&amp;nbsp; The CTE based recursive query should give you a result set something like "parent, child, level".&amp;nbsp; Once you have the recursive query in place, you'll then want to construct a view from the CTE, whereby you'll leverage the view to join the identifier parent and child pairs to the decode table to return identifier names (assuming your model is normalized in this manner) down to the number of levels deep as compromised by the business users.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Once the recursive query is defined, you'll most likely then&amp;nbsp;create a named query with Report Builder's "Data Source View" (DSV).&amp;nbsp; This named query can be simple, or rather complex depending upon your database model and the number of custom Report Builder "click through" reports you want developed.&amp;nbsp; Meaning, if you want a custom click through report for level 1 versus a different custom click through report for level 2, you'll need to create two separate named queries within the DSV, since an entity can only have one custom report per scalar or aggregate value. (For more information on creating custom click through reports for Report Builder, &lt;A href="http://msdn2.microsoft.com/en-us/library/ms365324.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/ms365324.aspx"&gt;view this SS2K5 BOL entry&lt;/A&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Ok...that's it.&amp;nbsp; You should now be able to traverse a parent-child relationship successfully within Report Builder...albeit with a compromise from the business end-users.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7271266" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/jbasilico/archive/tags/Report+Builder/default.aspx">Report Builder</category></item></channel></rss>