Same Store Sales Analysis using Measures

Louis_Guionneau

New Member
Joined
Nov 12, 2019
Messages
27
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>
 

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,033
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
27
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,033
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
27
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,077,784
Messages
5,336,327
Members
399,076
Latest member
vullistax

Some videos you may like

This Week's Hot Topics

Top