Same Store Sales Analysis using Measures

Louis_Guionneau

New Member
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

 Name Year Sales A 2010 5 A 2011 6 A 2012 7 B 2010 6 B 2011 7 B 2012 8 C 2010 7 C 2011 8 C 2012 9

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

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
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
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
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
Explicit measures are created in the power pivot calculated values section whereas implicit measures are created using expressions in pivot tables.

Thanks!

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