<?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>PowerPivotGeek &#187; DAX</title>
	<atom:link href="http://powerpivotgeek.com/category/dax/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Wed, 19 Jan 2011 23:04:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pointers: Samples and Tutorials</title>
		<link>http://powerpivotgeek.com/2010/10/04/pointers-samples-and-tutorials/</link>
		<comments>http://powerpivotgeek.com/2010/10/04/pointers-samples-and-tutorials/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:49:40 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA["Getting Started"]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Sample Code]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/04/pointers-samples-and-tutorials/</guid>
		<description><![CDATA[<p>I wanted to consolidate all of these into a single posting:</p>

Roadmap to Creating PowerPivot Workbooks in Excel: http://technet.microsoft.com/en-us/library/ee210641.aspx 
PowerPivot for Excel Tutorial: http://technet.microsoft.com/en-us/library/ee835510.aspx 
PowerPivot for Excel Samples: http://go.microsoft.com/fwlink/?LinkID=192753&#38;clcid=0&#215;409 
PowerPivot for Excel DAX Samples: http://go.microsoft.com/fwlink/?LinkID=192754&#38;clcid=0&#215;409 

<p>Enjoy!</p>
<p>_-_-_ Dave</p>
]]></description>
			<content:encoded><![CDATA[<p>I wanted to consolidate all of these into a single posting:</p>
<ul>
<li>Roadmap to Creating PowerPivot Workbooks in Excel: <a title="http://technet.microsoft.com/en-us/library/ee210641.aspx" href="http://technet.microsoft.com/en-us/library/ee210641.aspx">http://technet.microsoft.com/en-us/library/ee210641.aspx</a> </li>
<li>PowerPivot for Excel Tutorial: <a title="http://technet.microsoft.com/en-us/library/ee835510.aspx" href="http://technet.microsoft.com/en-us/library/ee835510.aspx">http://technet.microsoft.com/en-us/library/ee835510.aspx</a> </li>
<li>PowerPivot for Excel Samples: <a href="http://go.microsoft.com/fwlink/?LinkID=192753&amp;clcid=0x409">http://go.microsoft.com/fwlink/?LinkID=192753&amp;clcid=0&#215;409</a> </li>
<li>PowerPivot for Excel DAX Samples: <a href="http://go.microsoft.com/fwlink/?LinkID=192754&amp;clcid=0x409">http://go.microsoft.com/fwlink/?LinkID=192754&amp;clcid=0&#215;409</a> </li>
</ul>
<p>Enjoy!</p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F10%2F04%2Fpointers-samples-and-tutorials%2F&amp;linkname=Pointers%3A%20Samples%20and%20Tutorials"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/10/04/pointers-samples-and-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When is null not a null?</title>
		<link>http://powerpivotgeek.com/2010/02/15/when-is-null-not-a-null/</link>
		<comments>http://powerpivotgeek.com/2010/02/15/when-is-null-not-a-null/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 20:34:57 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[DAX]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/02/15/when-is-null-not-a-null/</guid>
		<description><![CDATA[<p>Recently there have been some discussions on the forums and in other areas concerning how PowerPivot handles nulls. As this has changed between CTP3 (back in November) and the upcoming RTM of the product, I thought that it would be a good posting. Here is the situation: suppose you have a simple calculated measure: </p>
<p>m1 [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there have been some discussions on the forums and in other areas concerning how PowerPivot handles nulls. As this has changed between CTP3 (back in November) and the upcoming RTM of the product, I thought that it would be a good posting. Here is the situation: suppose you have a simple calculated measure: </p>
<blockquote><p>m1 = SUM(c1) / SUM(c2)</p>
</blockquote>
<p>If <em>c2</em> is NULL, then then you get #NUM as a result. No worries, pretty much expected. However, it is difficult to trap when this is happening. For example, with CTP3: </p>
<blockquote><p>m1 = IF (SUM(c2) = 0, 0, SUM(c1) / SUM(c2))</p>
</blockquote>
<p>You can use IFERROR and ISERROR but they are slower and have more overhead and should be avoided if possible:</p>
<blockquote><p>m1 = IFERROR((&#160;&#160; SUM(c1) / SUM(c2)&#160;&#160; ), 0) </p>
<p>-or-</p>
<p>m1 = IF(ISERROR(&#160;&#160; SUM(c1) / SUM(c2)&#160;&#160; ), 0, (&#160; SUM(c1) / SUM(c2)&#160;&#160; ))</p>
</blockquote>
<p>. . . however, regardless, <em>m1</em> keeps returning #NUM, not 0. In CTP3 PowerPivot does not treat infinity as an error despite #NUM being displayed in Excel.&#160; This is effectively what is going on in this example, as NULL is being converted to zero (division by zero then yields infinity). The RTM version of PowerPivot will treat such a scenario as an error and IF/ IFERROR/ ISERROR will behave as expected. </p>
<p>(My thanks to Marius Dumitru, Russell Christopher and Brandon Unger for providing both the examples above and the answer.) </p>
<p>Enjoy. </p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F02%2F15%2Fwhen-is-null-not-a-null%2F&amp;linkname=When%20is%20null%20not%20a%20null%3F"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/02/15/when-is-null-not-a-null/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

