<?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: Same Store Sales Continued &#8211; Using Store Open/Close Dates</title>
	<atom:link href="http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=same-store-sales-continued-using-store-openclose-dates</link>
	<description>Thoughts on PowerPivot, the future of Excel, and the occasional movie quote</description>
	<lastBuildDate>Sat, 18 May 2013 19:40:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-9831</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Thu, 13 Dec 2012 00:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-9831</guid>
		<description><![CDATA[Hi Ben!

PowerPivot measures work with aggregates.  For instance, you can&#039;t define a measure with a formula of =SalesTable[Amount Column]  -  you need to have an aggregation function or you will get an error.  So SUM(SalesTable[Amount Column]) is legal.

Strictly speaking I did not need to define an [OpenDate] measure.  I could have just used LASTDATE(Stores[OpenDate]) everywhere in my other measures where I referenced [OpenDate].  But I needed an aggregation function (LASTDATE in this example) to make my formulas legal.  At that point I might as well just define it once as a measure and re-use it.]]></description>
		<content:encoded><![CDATA[<p>Hi Ben!</p>
<p>PowerPivot measures work with aggregates.  For instance, you can&#8217;t define a measure with a formula of =SalesTable[Amount Column]  &#8211;  you need to have an aggregation function or you will get an error.  So SUM(SalesTable[Amount Column]) is legal.</p>
<p>Strictly speaking I did not need to define an [OpenDate] measure.  I could have just used LASTDATE(Stores[OpenDate]) everywhere in my other measures where I referenced [OpenDate].  But I needed an aggregation function (LASTDATE in this example) to make my formulas legal.  At that point I might as well just define it once as a measure and re-use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-9827</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 12 Dec 2012 17:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-9827</guid>
		<description><![CDATA[First off thanks for all the great real world examples and overall awesome content you&#039;ve made available. 

I&#039;m new to PowerPivot so forgive me for this basic question. I was just wondering why we need to create the measure for Open Date as the first step if it&#039;s just going to pull the date directly from the existing Open Date column? Is there something special about creating a measure that allows you to use it in these various formulas where a direct reference to a column does not allow this?]]></description>
		<content:encoded><![CDATA[<p>First off thanks for all the great real world examples and overall awesome content you&#8217;ve made available. </p>
<p>I&#8217;m new to PowerPivot so forgive me for this basic question. I was just wondering why we need to create the measure for Open Date as the first step if it&#8217;s just going to pull the date directly from the existing Open Date column? Is there something special about creating a measure that allows you to use it in these various formulas where a direct reference to a column does not allow this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6206</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Fri, 24 Aug 2012 03:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6206</guid>
		<description><![CDATA[How about something like:

[Qualifying Store Count] =
 
CALCULATE(COUNTROWS(TheNewTable), 
   FILTER(TheNewTable, 
      TheNewTable[StartDate] &lt;= FIRSTDATE(Calendar[Date]) -365 &amp;&amp; 
      TheNewTable[EndDate] &gt;= LASTDATE(Calendar[Date]
   )
)

and then in your FILTER for the SSS measures themselves, do something like:

FILTER(Stores, [Qualifying Store Count] &gt; 0)]]></description>
		<content:encoded><![CDATA[<p>How about something like:</p>
<p>[Qualifying Store Count] =</p>
<p>CALCULATE(COUNTROWS(TheNewTable),<br />
   FILTER(TheNewTable,<br />
      TheNewTable[StartDate] < = FIRSTDATE(Calendar[Date]) -365 &#038;&#038;<br />
      TheNewTable[EndDate] >= LASTDATE(Calendar[Date]<br />
   )<br />
)</p>
<p>and then in your FILTER for the SSS measures themselves, do something like:</p>
<p>FILTER(Stores, [Qualifying Store Count] > 0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pozuelo</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6201</link>
		<dc:creator>pozuelo</dc:creator>
		<pubDate>Thu, 23 Aug 2012 21:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6201</guid>
		<description><![CDATA[ok thanks
I&#039;ll try despite I hardly see what formula I&#039;ll put in there
I&#039;ll keep you posted
If in the meantime you have a trick/advice, be welcome to share it
And once again : your blog rocks !!!!!]]></description>
		<content:encoded><![CDATA[<p>ok thanks<br />
I&#8217;ll try despite I hardly see what formula I&#8217;ll put in there<br />
I&#8217;ll keep you posted<br />
If in the meantime you have a trick/advice, be welcome to share it<br />
And once again : your blog rocks !!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6199</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Thu, 23 Aug 2012 17:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6199</guid>
		<description><![CDATA[I haven&#039;t tried this but I think I have an idea how to do what you are asking:

1) Create a new table in the model called StoreActiveDates (or similar)
2) This table has three columns - StoreID, StartDate, EndDate
3) Unlike the Stores table though, this table can contain MULTIPLE rows for a single store
4) Relate this new table to the Stores table, using the StoreID column

Now write a measure (or measures) on the StoreActiveDates table that answers the question &quot;Should this store count?&quot;  It might be a CALCULATE(COUNTROWS(), expression...) type of thing.

Lastly, change the filter expression in the FILTER function of the measures covered here to use THAT measure rather than the [Is Store Closed] measure for instance.]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tried this but I think I have an idea how to do what you are asking:</p>
<p>1) Create a new table in the model called StoreActiveDates (or similar)<br />
2) This table has three columns &#8211; StoreID, StartDate, EndDate<br />
3) Unlike the Stores table though, this table can contain MULTIPLE rows for a single store<br />
4) Relate this new table to the Stores table, using the StoreID column</p>
<p>Now write a measure (or measures) on the StoreActiveDates table that answers the question &#8220;Should this store count?&#8221;  It might be a CALCULATE(COUNTROWS(), expression&#8230;) type of thing.</p>
<p>Lastly, change the filter expression in the FILTER function of the measures covered here to use THAT measure rather than the [Is Store Closed] measure for instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6198</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Thu, 23 Aug 2012 17:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6198</guid>
		<description><![CDATA[(Oops, originally posted the wrong comment here)

What I meant to say was:  yes, I think that is a very good fit for many business situations.  I love this about PowerPivot - once we get started down a road, all kinds of options open up.  And since the Excel Pros working on this stuff tend to be tightly embedded into the &quot;business side of the house,&quot; we are properly positioned to come up with precisely the right ideas.]]></description>
		<content:encoded><![CDATA[<p>(Oops, originally posted the wrong comment here)</p>
<p>What I meant to say was:  yes, I think that is a very good fit for many business situations.  I love this about PowerPivot &#8211; once we get started down a road, all kinds of options open up.  And since the Excel Pros working on this stuff tend to be tightly embedded into the &#8220;business side of the house,&#8221; we are properly positioned to come up with precisely the right ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pozuelo</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6190</link>
		<dc:creator>Pozuelo</dc:creator>
		<pubDate>Thu, 23 Aug 2012 10:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6190</guid>
		<description><![CDATA[HI there,

Glad to see a post dealing with SSS on retail business
I&#039;m working in that business as financial controler for a while, and since day one, I struggled to set up somthing automatic to calculation SSS.
I managed through different excel formulas, until powerpivot has been created and released.
During years, I was found of the &quot;did we have sales&quot; approach. Makes more sense to me. But as said, every business situation is different. Now some folks want to have a similar approach as described by Cory.
The only difference with situation described by Cory are :
- are included on SSS only shops that are opened 12 months without discontinuing on both 2 fiscal years (a fiscal year here starts in July 1st Y and finishes June 30th Y+1)
- some stores are opened during two successive fiscal year, but are somewhen during a year, closed for refit. And so naturally they should be excluded from like for like comparison. So compared to the fictional open/close store table you&#039;ve created here, one shop can have several opening and closing dates.

To manage that, so far I created a list of stores that are to be included in SSS, and maintain that list month after month (depending on closing / opening). But I&#039;m keen to automatise it a little bit more.

If you have any idea, I&#039;ll be very grateful, and pretty sure a lot of folks reading your blog will be happy to learn that.

Have a nice day

Regards]]></description>
		<content:encoded><![CDATA[<p>HI there,</p>
<p>Glad to see a post dealing with SSS on retail business<br />
I&#8217;m working in that business as financial controler for a while, and since day one, I struggled to set up somthing automatic to calculation SSS.<br />
I managed through different excel formulas, until powerpivot has been created and released.<br />
During years, I was found of the &#8220;did we have sales&#8221; approach. Makes more sense to me. But as said, every business situation is different. Now some folks want to have a similar approach as described by Cory.<br />
The only difference with situation described by Cory are :<br />
- are included on SSS only shops that are opened 12 months without discontinuing on both 2 fiscal years (a fiscal year here starts in July 1st Y and finishes June 30th Y+1)<br />
- some stores are opened during two successive fiscal year, but are somewhen during a year, closed for refit. And so naturally they should be excluded from like for like comparison. So compared to the fictional open/close store table you&#8217;ve created here, one shop can have several opening and closing dates.</p>
<p>To manage that, so far I created a list of stores that are to be included in SSS, and maintain that list month after month (depending on closing / opening). But I&#8217;m keen to automatise it a little bit more.</p>
<p>If you have any idea, I&#8217;ll be very grateful, and pretty sure a lot of folks reading your blog will be happy to learn that.</p>
<p>Have a nice day</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.powerpivotpro.com/2012/08/same-store-sales-continued-using-store-openclose-dates/#comment-6188</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 23 Aug 2012 08:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=4872#comment-6188</guid>
		<description><![CDATA[I was thinking a potential way to elect a fitting candidate for the &#039;open store date&#039; might be to hybridize both methods...
Start by considering the OpenDate, calculate the time lapse between OpenDate and FirstSaleDate (let&#039;s call it FirstTimeLapse), then the mean time lapse between Sales, starting from FirstSaleDate. If FirstTimeLapse isn&#039;t within a given tolerance threshold of MeanTimeLapse, perhaps it is more appropriate to select FirstSaleDate as the real open date (or a date calculated using FirstSaleDate, like first day of that month, etc.)?
I&#039;m not sure if such detail is needed, just some thoughts off the top of my head.
Anyway, really liked those recent articles of yours!]]></description>
		<content:encoded><![CDATA[<p>I was thinking a potential way to elect a fitting candidate for the &#8216;open store date&#8217; might be to hybridize both methods&#8230;<br />
Start by considering the OpenDate, calculate the time lapse between OpenDate and FirstSaleDate (let&#8217;s call it FirstTimeLapse), then the mean time lapse between Sales, starting from FirstSaleDate. If FirstTimeLapse isn&#8217;t within a given tolerance threshold of MeanTimeLapse, perhaps it is more appropriate to select FirstSaleDate as the real open date (or a date calculated using FirstSaleDate, like first day of that month, etc.)?<br />
I&#8217;m not sure if such detail is needed, just some thoughts off the top of my head.<br />
Anyway, really liked those recent articles of yours!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
