Active Member
April 4, 2019
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
Power Query
Power Pivot
Xtreme Pivot Tables
Excel for Decision Making
Excel for Finance
Excel Analysis Toolpak
Power BI
Excel
Word
Outlook
Excel Expert
Excel Customer Service
PowerPoint
November 8, 2013
Active Member
April 4, 2019
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!!!!
Active Member
April 4, 2019
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.
Power Query
Power Pivot
Xtreme Pivot Tables
Excel for Decision Making
Excel for Finance
Excel Analysis Toolpak
Power BI
Excel
Word
Outlook
Excel Expert
Excel Customer Service
PowerPoint
November 8, 2013
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.
1 Guest(s)