• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

percentage difference in pivots not working across periods.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / percentage difference in pivots not working across periods.|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…percentage difference in pivots not…
sp_PrintTopic sp_TopicIcon
percentage difference in pivots not working across periods.
Avatar
Jonathan Moles

New Member
Members
Level 0
Forum Posts: 2
Member Since:
April 2, 2019
sp_UserOfflineSmall Offline
1
April 2, 2019 - 9:49 pm
sp_Permalink sp_Print

Hi,

First time poster here, so please be gentle if I inadvertently do something wrong. 

I have a pivot that is used to present a quarterly overview of daily information collected over several years.  The simplified file (attached) uses a pivot table to group the data by the year and quarter of the related date, shows the average value of the quarter in the first field, followed by a second field showing the % difference between that average value for the period and the previous quarter's average value.  

For some reason, the pivot only considers quarters within the same year as previous to one another, so does not calculate a % difference from previous for Q1 of each year (as Q4 of the previous year is treated as being in a different group).

Can this problem with pivot tables be overcome or do I need to build a manual presentation table rather than using the pivot table?

Many thanks for any help in advance.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
April 3, 2019 - 10:57 am
sp_Permalink sp_Print

Hi Jonathan

What is your expected result?

Have you tried selecting the Base Field as Years instead on Date?

Avatar
Jonathan Moles

New Member
Members
Level 0
Forum Posts: 2
Member Since:
April 2, 2019
sp_UserOfflineSmall Offline
3
April 3, 2019 - 7:14 pm
sp_Permalink sp_Print

Hi SunnyKow,

Thanks for your response. 

My expectation was that I would have a % difference calculated for every quarter other than the first in the table, but the table excludes the calculation for the first quarter of every calendar year - not just the first quarter of data.  For example I would expect the value next to Q2 2018 to show the % difference from Q1 2018, then the following row to show Q3 vs Q2 and so on.  However, where I would expect Q1 2019 vs Q4 2018 there is no result.

I have tried changing the base field to Years, but this simply means you get a % difference on the average values for each year.  then if you add quarters, you get a comparison between the same quarter in different years, not adjacent quarters.  (i.e. Q1 2019 is compared to Q1 2018 instead of Q4 2018.)

I hope that makes the challenge clearer.

Thanks.

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
4
April 3, 2019 - 8:36 pm
sp_Permalink sp_Print

I tried some other solutions in the pivot table itself, but encountered the same issues. So maybe it's indeed something that can't be solved this way and only by something with a helper column or such. Is it worth for you trying figuring out alternative solutions, or is the answer 'it can't be done' enough?

Frans

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
5
April 4, 2019 - 10:43 am
sp_Permalink sp_Print

Hi Jonathan

You will need to create a helper column in your data.

Refer attachment for an example.

Good luck.

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Mynda Treacy, Dieneba NDIAYE, Ben Hughes, Jay Soysa, Marco Marques, Christopher Anderson, Natasha Smith
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
dectator mang
Francis Drouillard
Orlando Inocente
Jovitha Clemence
Maloxat Axmatovna
Ricardo Freitas
Marko Meglic
Kelly smith
Alan Rushton
Zack Nilsson
Forum Stats:
Groups: 3
Forums: 24
Topics: 6200
Posts: 27181

 

Member Stats:
Guest Posters: 49
Members: 31858
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.