﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>RT-blog</title>
    <description>Thoughts on and experiences with computers, programming and electronics.</description>
    <link>http://www.realtechnology.com/RTBlog/tabid/59/BlogId/2/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>rtblog@realtechnology.com</managingEditor>
    <webMaster>ronsmith@realtechnology.com</webMaster>
    <pubDate>Mon, 06 Feb 2012 11:53:25 GMT</pubDate>
    <lastBuildDate>Mon, 06 Feb 2012 11:53:25 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.3.0.16726</generator>
    <item>
      <title>Optional relationships in SSAS 2005</title>
      <description>&lt;p&gt;On a recent project using Sql Server Analysis Server (SSAS) 2005, I ran into some challenges with fact tables that had optional relationships (nullable foreign keys) to related dimension tables.&lt;/p&gt;
&lt;p&gt;I used a design were FactTableA had a regular relationship to DimensionA and DimensionB, however, these were both optional relationships.  The cube functioned correctly until I added a referenced relationship to DimensionC via DimensionA.  When I did this, the count of records in FactTableA suddenly dropped to a value corresponding to the count of non-null values for the foreign key referencing DimensionA.  The cube was forming an inner join between FactTableA and DimensionC via DimensionA; not what I wanted at all.&lt;/p&gt;
&lt;p&gt;The fix was simple, in the "Define Relationship" screen for DimensionC, I unchecked the "Materialize" checkbox. The documentation doesn't mention this impact on the data, it merely mentions that perfomance is improved when the value is checked.&lt;/p&gt;
&lt;p&gt;SSAS 2005 nullable foreign keys referenced dimensions&lt;/p&gt;</description>
      <link>http://www.realtechnology.com/RTBlog/tabid/59/EntryID/25/Default.aspx</link>
      <author>rtblog@realtechnology.com</author>
      <comments>http://www.realtechnology.com/RTBlog/tabid/59/EntryID/25/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.realtechnology.com/Default.aspx?tabid=59&amp;EntryID=25</guid>
      <pubDate>Tue, 15 Jul 2008 21:16:34 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.realtechnology.com/DesktopModules/Blog/Trackback.aspx?id=25</trackback:ping>
    </item>
  </channel>
</rss>
