• 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
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Date format difference in Pivot table vs PowerQuery table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Date format difference in Pivot table vs PowerQuery table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

vba course banner

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…Date format difference in Pivot tab…
sp_PrintTopic sp_TopicIcon
Date format difference in Pivot table vs PowerQuery table
Avatar
S Ng

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 4, 2019
sp_UserOfflineSmall Offline
1
April 4, 2019 - 12:20 pm
sp_Permalink sp_Print

Hiya,

new to power query and trying to follow the HR Interactive Excel Dashboard video to learn.

Using the HR data provided by this site, I've got the data, combined & edited the data in power query then loaded.  Once trying to use the pivot table data, noticed the dates were incorrect and have gone from eg 1/3/15 to 3/1/15 so it thinks all the dates are in January.  The data in powerquery still seems ok and in the right format.

I tried to restart the process and getting the data again.   When editing the data, updating the date field to locale = English (Australia) then loading but still came out the same.  I've double checked entering a date manually in Excel and its in the right format dd/mm/yy. 

Can anyone help with what's going on?  Is this an issue with a setting in Excel or something with the power query data loading?

Thanks for any advice!

cheers

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1824
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
April 4, 2019 - 3:02 pm
sp_Permalink sp_Print

Can you check your system settings? Which is the date format in Control Panel-Regional Settings?

Avatar
S Ng

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 4, 2019
sp_UserOfflineSmall Offline
3
April 4, 2019 - 3:52 pm
sp_Permalink sp_Print

Region is Australia

The odd thing is - excel is treating the data like the dd/mm/yy format so i'm not sure how/where in the process its flipping the numbers somehow.

e.g - it should be 1 March (1/3), 1 April (1/4), 1 May (1/5) but now everything is January (3or 4 or 5 / 1).

I even want to ignore this issue and try doing the rest of the video but really unfamiliar with power query so not sure how to get back in & edit any data since its connected not pulled in...

 

Any thoughts would be appreciated!!!!

Avatar
S Ng

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
April 4, 2019
sp_UserOfflineSmall Offline
4
April 4, 2019 - 4:20 pm
sp_Permalink sp_Print

ok, I managed to figure this out.

I had updated the locale within the date column in power query to be English (Australia) and it looked right.  However, I went in again and realised the regional settings under options, query options was still on English (US).  Changed that (data still looked the same on the display though) and reloaded.  

Now it's working.  

Guess I'll check both of those in future.  Hoping that selection will default from now on though.

 

Thanks, sorry for the silly question - as you can see from the timing, this took me 3-4 hours of playing around aka 'learning' how to navigate powerquery.

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1824
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
5
April 4, 2019 - 5:36 pm
sp_Permalink sp_Print

If your date format in system settings (Control Panel) is set to Australia dd/mm/yyyy, in PQ you just need to change the type of the column to Date, no need to change type with locale, will take system settings. If source data comes in mm/dd/yyyy (US format), you need to make sure that dates are converted properly, otherwise it will change dates from March 1 to January 3 for example.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6355
Posts: 27792

 

Member Stats:
Guest Posters: 49
Members: 32324
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.