<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: SSAS: Custom format string for “duration” using MDX</title>
	<atom:link href="http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/</link>
	<description>My Blog on Microsoft BI</description>
	<lastBuildDate>Wed, 19 Oct 2011 08:31:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Bonne</title>
		<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/comment-page-1/#comment-4426</link>
		<dc:creator>Bonne</dc:creator>
		<pubDate>Fri, 22 Jul 2011 12:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/#comment-4426</guid>
		<description>Thanks this was very helpfull.
I realized that you could simplify the code somewhat with the same result.

I now use:
CREATE MEMBER CURRENTCUBE.[MEASURES].[DurationInDays]
AS [MEASURES].[DurationInSec] / 86400,
FORMAT_STRING = 
    &#039;&quot;&#039;+ cstr(int([MEASURES].[DurationInDays])) + &#039; days&quot; hh:mm:ss&#039;,
VISIBLE = 1;</description>
		<content:encoded><![CDATA[<p>Thanks this was very helpfull.<br />
I realized that you could simplify the code somewhat with the same result.</p>
<p>I now use:<br />
CREATE MEMBER CURRENTCUBE.[MEASURES].[DurationInDays]<br />
AS [MEASURES].[DurationInSec] / 86400,<br />
FORMAT_STRING =<br />
    &#8216;&#8221;&#8216;+ cstr(int([MEASURES].[DurationInDays])) + &#8216; days&#8221; hh:mm:ss&#8217;,<br />
VISIBLE = 1;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Kane</title>
		<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/comment-page-1/#comment-2254</link>
		<dc:creator>Sam Kane</dc:creator>
		<pubDate>Wed, 16 Mar 2011 20:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/#comment-2254</guid>
		<description>Here are this and some other articles on Measure Formatting: 
&lt;a href=&quot;http://ssas-wiki.com/w/Articles#Measure_Formatting&quot; rel=&quot;nofollow&quot;&gt;
http://ssas-wiki.com/w/Articles#Measure_Formatting&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Here are this and some other articles on Measure Formatting:<br />
<a href="http://ssas-wiki.com/w/Articles#Measure_Formatting" rel="nofollow"><br />
</a><a href="http://ssas-wiki.com/w/Articles#Measure_Formatting" rel="nofollow">http://ssas-wiki.com/w/Articles#Measure_Formatting</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Griffiths</title>
		<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/comment-page-1/#comment-97</link>
		<dc:creator>Nathan Griffiths</dc:creator>
		<pubDate>Thu, 08 Apr 2010 02:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/#comment-97</guid>
		<description>The OLAP Server formatting settings are unfortunately stored with the spreadsheet, not the ODC connection file. This means that when opening a spreadsheet from a connection file you have to enable these settings each time.
However, if you open a blank spreadsheet and then use the Get External Data.. method of connecting to Analysis Services then the above settings are enabled by default.</description>
		<content:encoded><![CDATA[<p>The OLAP Server formatting settings are unfortunately stored with the spreadsheet, not the ODC connection file. This means that when opening a spreadsheet from a connection file you have to enable these settings each time.<br />
However, if you open a blank spreadsheet and then use the Get External Data.. method of connecting to Analysis Services then the above settings are enabled by default.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

