<?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: Yet Another Relative Dates Implementation	</title>
	<atom:link href="https://prologika.com/yet-another-relative-dates-implementation/feed/" rel="self" type="application/rss+xml" />
	<link>https://prologika.com/yet-another-relative-dates-implementation/</link>
	<description>Business Intelligence Consulting and Training in Atlanta</description>
	<lastBuildDate>Tue, 16 Feb 2021 08:45:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>
		By: Prologika		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-356</link>

		<dc:creator><![CDATA[Prologika]]></dc:creator>
		<pubDate>Mon, 09 Jul 2018 13:43:00 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-356</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://prologika.com/yet-another-relative-dates-implementation/#comment-355&quot;&gt;Frédérick Beaulieu&lt;/a&gt;.

I typically don&#039;t implement a Relative Date dimension in Tabular. Instead, I flatten time calculations in measures, such as SalesAmountYTD, SalesAmountQTD, etc. There are a lot of formulas to duplicate but it&#039;s not that bad.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://prologika.com/yet-another-relative-dates-implementation/#comment-355">Frédérick Beaulieu</a>.</p>
<p>I typically don&#8217;t implement a Relative Date dimension in Tabular. Instead, I flatten time calculations in measures, such as SalesAmountYTD, SalesAmountQTD, etc. There are a lot of formulas to duplicate but it&#8217;s not that bad.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Frédérick Beaulieu		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-355</link>

		<dc:creator><![CDATA[Frédérick Beaulieu]]></dc:creator>
		<pubDate>Mon, 09 Jul 2018 13:20:00 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-355</guid>

					<description><![CDATA[Hi,
thank you I use that solution for years in a multidimentional model and it&#039;s working perfectly.
But I can&#039;t figure out how to implement something like that in a tabular model... any hint ?
thanks !]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
thank you I use that solution for years in a multidimentional model and it&#8217;s working perfectly.<br />
But I can&#8217;t figure out how to implement something like that in a tabular model&#8230; any hint ?<br />
thanks !</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Prologika		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-290</link>

		<dc:creator><![CDATA[Prologika]]></dc:creator>
		<pubDate>Thu, 22 Jun 2017 18:03:00 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-290</guid>

					<description><![CDATA[Suresh, the RelativeDateKey is the key of the Relative Date attribute. Its KeyColumns property is bound to the RelativeDateKey column from the view.]]></description>
			<content:encoded><![CDATA[<p>Suresh, the RelativeDateKey is the key of the Relative Date attribute. Its KeyColumns property is bound to the RelativeDateKey column from the view.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Suresh Ch		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-289</link>

		<dc:creator><![CDATA[Suresh Ch]]></dc:creator>
		<pubDate>Thu, 22 Jun 2017 16:39:00 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-289</guid>

					<description><![CDATA[Hi, i don&#039;t see RelativeDateKey under &#039;Intermediate dimension attribute&#039; when defining referenced relationship between date dim and relative dates.  Looks like I missed a step. Could you please elaborate? Thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi, i don&#8217;t see RelativeDateKey under &#8216;Intermediate dimension attribute&#8217; when defining referenced relationship between date dim and relative dates.  Looks like I missed a step. Could you please elaborate? Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: azm		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-141</link>

		<dc:creator><![CDATA[azm]]></dc:creator>
		<pubDate>Thu, 07 Jan 2016 20:02:28 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-141</guid>

					<description><![CDATA[very helpful]]></description>
			<content:encoded><![CDATA[<p>very helpful</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ollios		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-140</link>

		<dc:creator><![CDATA[ollios]]></dc:creator>
		<pubDate>Mon, 02 Mar 2015 22:00:02 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-140</guid>

					<description><![CDATA[Hi there

First of all, great solution - I&#039;m an analysis services newbie but this works well and was easy to implement, although I had the issue of measure not aggregating when you use the dates hierarchy exclusively also.  

For example if you browsed the cube using the date hierarchy for the default member (current day) the value displayed would be the aggregation of both the values at the intersection the default date member, [Relative Dates].&amp;[1] AND the [Relative Dates].[Current Date] members (assuming that my relative dates dimension only contained the two members) - I could only assume this is because while we set the relative dates member to hide if there was &#039;no name&#039; the member is still included in the cube and is included in aggregations accordingly.

The only way I could find to get around this was to include another &#039;no name&#039; member in the relative dates dimension ([Relative Dates].&amp;[2]) that served as a &#039;balancing member&#039; to ensure that the amount displayed when the date hierarchy was used without relative time. See below for code.

--Create Balancing Amounts

Scope ([Relative Time].&amp;[2], [Calendar].[Financial Calendar].ALLMEMBERS);

    this = AGGREGATE(EXCEPT([Relative Time].[Relative Time].[All].Children,[Relative Time].[Relative Time].[Relative Time Name].&amp;[1]))*-1;

End Scope;


Am I missing something?  Can I ask how did you manage to get around this issue.

Thanks very much]]></description>
			<content:encoded><![CDATA[<p>Hi there</p>
<p>First of all, great solution &#8211; I&#8217;m an analysis services newbie but this works well and was easy to implement, although I had the issue of measure not aggregating when you use the dates hierarchy exclusively also.  </p>
<p>For example if you browsed the cube using the date hierarchy for the default member (current day) the value displayed would be the aggregation of both the values at the intersection the default date member, [Relative Dates].&#038;[1] AND the [Relative Dates].[Current Date] members (assuming that my relative dates dimension only contained the two members) &#8211; I could only assume this is because while we set the relative dates member to hide if there was &#8216;no name&#8217; the member is still included in the cube and is included in aggregations accordingly.</p>
<p>The only way I could find to get around this was to include another &#8216;no name&#8217; member in the relative dates dimension ([Relative Dates].&#038;[2]) that served as a &#8216;balancing member&#8217; to ensure that the amount displayed when the date hierarchy was used without relative time. See below for code.</p>
<p>&#8211;Create Balancing Amounts</p>
<p>Scope ([Relative Time].&#038;[2], [Calendar].[Financial Calendar].ALLMEMBERS);</p>
<p>    this = AGGREGATE(EXCEPT([Relative Time].[Relative Time].[All].Children,[Relative Time].[Relative Time].[Relative Time Name].&#038;[1]))*-1;</p>
<p>End Scope;</p>
<p>Am I missing something?  Can I ask how did you manage to get around this issue.</p>
<p>Thanks very much</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: phlew		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-139</link>

		<dc:creator><![CDATA[phlew]]></dc:creator>
		<pubDate>Wed, 05 Nov 2014 02:36:07 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-139</guid>

					<description><![CDATA[Hi tlachev or iTekExpert,

I would like your help in implementing the Relative Date dimension. 
I am getting an issue with the MDX Programming --section...

Would you be able to let me know what you did to get it to work?



Kind regards,

P3L]]></description>
			<content:encoded><![CDATA[<p>Hi tlachev or iTekExpert,</p>
<p>I would like your help in implementing the Relative Date dimension.<br />
I am getting an issue with the MDX Programming &#8211;section&#8230;</p>
<p>Would you be able to let me know what you did to get it to work?</p>
<p>Kind regards,</p>
<p>P3L</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tlachev		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-138</link>

		<dc:creator><![CDATA[tlachev]]></dc:creator>
		<pubDate>Fri, 23 May 2014 18:41:00 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-138</guid>

					<description><![CDATA[Not from the top of my head. Feel free to contact me offline if you want me to take a look.]]></description>
			<content:encoded><![CDATA[<p>Not from the top of my head. Feel free to contact me offline if you want me to take a look.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: iTekExpert		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-137</link>

		<dc:creator><![CDATA[iTekExpert]]></dc:creator>
		<pubDate>Thu, 22 May 2014 20:38:40 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-137</guid>

					<description><![CDATA[Hi, me again. So everything is working fine when I use the relatives date. The only issue is when I use the date dimension, without using any relative members.
The result is then multiply by 4, or by 3.5, depending of the year of my data.
I am having difficulties to find what could cause that, any idea? You look like a genius so I tought I should ask :)
Thank you!]]></description>
			<content:encoded><![CDATA[<p>Hi, me again. So everything is working fine when I use the relatives date. The only issue is when I use the date dimension, without using any relative members.<br />
The result is then multiply by 4, or by 3.5, depending of the year of my data.<br />
I am having difficulties to find what could cause that, any idea? You look like a genius so I tought I should ask 🙂<br />
Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: iTekExpert		</title>
		<link>https://prologika.com/yet-another-relative-dates-implementation/#comment-136</link>

		<dc:creator><![CDATA[iTekExpert]]></dc:creator>
		<pubDate>Fri, 16 May 2014 12:12:31 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx#comment-136</guid>

					<description><![CDATA[Never mind, I am better at MDX than I first tough :)
]]></description>
			<content:encoded><![CDATA[<p>Never mind, I am better at MDX than I first tough 🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
