Same Store Sales Analysis using Measures

Louis_Guionneau

New Member
Joined
Nov 12, 2019
Messages
28
Hi everyone,

I'm new to this forum but have spent a lot of time reading through other's posts, which are often very helpful. I haven't found a definitive answer to the following question and hoping you all might be able to provide some guidance. I am pretty new to Power Pivot - thank you in advance for your patience.

I am trying to conduct same store sales on a database that looks like the below (as an example). Is it possible to set up a single measure (without using calculated columns) which could then be leveraged in a pivot table to do year over sales increases for a given filter (e.g. by name, year)?

Thank you so much!

Louis



NameYearSales
A2010 5
A2011 6
A2012 7
B2010 6
B2011 7
B2012 8
C2010 7
C2011 8
C2012 9

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,162
Office Version
2019
Platform
Windows
A pivot table as below

Excel 2016 (Windows) 32 bit
A
B
C
D
E
F
G
H
I
1
NameYearSales
2
A
2010​
5​
Sum of SalesYear
3
A
2011​
6​
Name
2010
2011
2012
4
A
2012​
7​
C
7​
8​
9​
5
B
2010​
6​
A
5​
6​
7​
6
B
2011​
7​
B
6​
7​
8​
7
B
2012​
8​
8
C
2010​
7​
9
C
2011​
8​
10
C
2012​
9​
Sheet: Sheet1
 

Louis_Guionneau

New Member
Joined
Nov 12, 2019
Messages
28
Thank you Alan for your response! I'm hoping to get a % value for year over year increase, which can't be done in pivot tables, so I want to leverage an explicit measure to do this. I know that you can do it by setting up additional calculated columns, but want to try and achieve this with the use of explicit measure(s).

Thank you

Louis

A pivot table as below

Excel 2016 (Windows) 32 bit
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]A[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]B[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]C[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]D[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]E[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]F[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]G[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]H[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]I[/COLOR]​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]1[/COLOR]​
NameYearSales
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]2[/COLOR]​
A
2010​
5​
Sum of SalesYear
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]3[/COLOR]​
A
2011​
6​
Name
2010
2011
2012
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]4[/COLOR]​
A
2012​
7​
C
7​
8​
9​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]5[/COLOR]​
B
2010​
6​
A
5​
6​
7​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]6[/COLOR]​
B
2011​
7​
B
6​
7​
8​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]7[/COLOR]​
B
2012​
8​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]8[/COLOR]​
C
2010​
7​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]9[/COLOR]​
C
2011​
8​
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]10[/COLOR]​
C
2012​
9​

<tbody>
</tbody>
Sheet: Sheet1

<tbody>
</tbody>
 

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,162
Office Version
2019
Platform
Windows
I don't know the term explicit measure. Suggest you post a mocked up version of what your expected results are.
 

Louis_Guionneau

New Member
Joined
Nov 12, 2019
Messages
28
Explicit measures are created in the power pivot calculated values section whereas implicit measures are created using expressions in pivot tables.

Thanks!
 

Forum statistics

Threads
1,089,417
Messages
5,408,112
Members
403,185
Latest member
sp646

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top