Тёмный

Easily Fix Dates Formatted as Text with Power Query 

Подписаться
Просмотров 101 тыс.
% 2 055

Power Query makes fixing dates entered as text in Excel super easy, and it's quick to update when you get new data.
Learn more about how Excel stores date and time in this comprehensive guide here: www.myonlinetraininghub.com/excel-date-and-time
Download the practice file: www.myonlinetraininghub.com/fixing-excel-dates-formatted-text
Learn Power Query: www.myonlinetraininghub.com/excel-power-query-course
Excel 2010 & 2013 users download the free Power Query add-in here: www.microsoft.com/en-au/download/details.aspx?id=39379
View my comprehensive courses: www.myonlinetraininghub.com/
Connect with me on LinkedIn: www.linkedin.com/in/myndatreacy/

Наука

Опубликовано:

 

21 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 260   
@cuboseta
@cuboseta Год назад
Mynda I'm brazilian and want to enormously THANK YOU for the lessons. Literally saved my job! God bless your job.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Wow, so pleased I could help!
@cuboseta
@cuboseta Год назад
@@MyOnlineTrainingHub 🙏🙏🙏🙏
@libbyreiser6214
@libbyreiser6214 3 года назад
Brilliant lesson, Mynda, as always. Clear. Crisp. No waffling around (love your phrase). I am often faced with global database dates in... text format. Your lesson is cool, clever, and instantly actionable for me. I always learn more than I ever expect. Well done.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks for your kind words, Libby! So pleased you can make use of it :-)
@accountantzone5581
@accountantzone5581 10 месяцев назад
Honestly great teaching methodology. Facing dates issues from SAP Data in excel. Great 👍
@georgel1055
@georgel1055 3 года назад
I cannot believe the timeliness of this video! I had this exact problem this week. Great help. Thank you for the video instruction. So simple!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Great to hear, George!
@vijayarjunwadkar
@vijayarjunwadkar 3 года назад
Wow, Mynda, once again you read my mind and I got this video just in time, when I was struggling with dates in CSV! Thank you so much! 😊👍
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
:-D glad I could help, Vijay!
@wayneedmondson1065
@wayneedmondson1065 3 года назад
Hi Mynda. Awesome examples! Thanks for showing the various ways to use Power Query to fix dates formatted as text. Thumbs up!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks, Wayne!
@ziggle314
@ziggle314 3 года назад
Beautiful exposition! Also wanted to mention that I took your dashboard course and I use the techniques I learned there every day.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Awesome to hear!
@IvanCortinas_ES
@IvanCortinas_ES 3 года назад
I follow all your videos with great expectation, especially those about Power Query. Thank you very much for your dedication.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you like them, Ivan!
@RCTurbine
@RCTurbine 3 года назад
Thanks Mynda, I work with US dates all the time, and this really helps.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad it will be useful, Peter :-)
@felipe4181
@felipe4181 3 года назад
Thanks Mynda! dates are one of the most important data in data bases, these conversions are really usefull!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad it was helpful, Felipe!
@nurmohammedmunshi4894
@nurmohammedmunshi4894 3 года назад
A talented expert I have ever seen before. A lots of respect from my heart ♥. God bless you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks for your kind words :-)
@willytrazza9624
@willytrazza9624 Год назад
WOW ! I'm using Excel for years but this lesson was an eyeopener. Thanks for this video (and all others on your channel) Well done - you made my day 😀
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Awesome to hear 🙏
@newmasuzzo
@newmasuzzo Год назад
Mynda, thank you so much for saving me from trying everything that did not work. Brilliant video as usual.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad I could help!
@sundertalreja7208
@sundertalreja7208 3 года назад
Thanks for showing us the versatile use of PQ. Great Video.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Cheers, Sunder :-)
@JAAP2101
@JAAP2101 3 года назад
Thanks Mynda. It's a really great content. God bless you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thank you, Alejandro!
@TheOrganizedProfessional
@TheOrganizedProfessional 2 года назад
You are a life saver. Thank you so very much!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
You are most welcome 😊
@MrMkx007
@MrMkx007 Год назад
Amazing - Example 5 was my issue, super easy fix!! Thank you so much!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Great to hear!
@ravingagunawardana178
@ravingagunawardana178 2 года назад
Saved me a ton of work! Thanks!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Great to hear!
@LindseyBuckle
@LindseyBuckle Год назад
Wow. Learnt two new things today: splitting by position and column from examples. How did I not know it was that easy? Thank you!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Great to hear, Lindsey!
@DougHExcel
@DougHExcel 3 года назад
Great examples of date transformations!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you like them, Doug!
@BenDieselBasicAutomotive
@BenDieselBasicAutomotive Год назад
Very detailed explanation.. Thank you very much...
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
My pleasure 😊
@Luciano_mp
@Luciano_mp 3 года назад
I didn't know that you could split columns by specifying the quantity as in your example (0.2,4). Very useful, good tips. Thank you very much Mynda!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad it was worth your time to watch, Luciano :-)
@chonzadaniel
@chonzadaniel 3 года назад
Thanks for sharing this Mynda, very useful tricks!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you enjoyed it!
@MoeDia-vr4tk
@MoeDia-vr4tk 2 месяца назад
YOU ARE A GENIUS!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 месяца назад
So pleased you found the video helpful 🙏😊
@garethwoodall577
@garethwoodall577 Год назад
Many thanks I had to use the locale method for the first time today really appreciate your channel Mynda!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad I could help 🙏
@mariaalcala5159
@mariaalcala5159 3 года назад
Hi Mynda! Thanks a lot for sharing your knowledge! It’s really helpful and I really like how you’re always using shortcuts =)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
So pleased to hear that, Maria!
@cherianiype
@cherianiype 3 года назад
@MyOnlineTrainngHub - Awesome stuff as ever Mynda. Thanks for sharing. Take care and stay safe!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks! You too!
@warrenrodrigues2110
@warrenrodrigues2110 Год назад
Learned something new today, Thankyou
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad to hear it!
@darrylmorgan
@darrylmorgan 3 года назад
Hi Mynda!Really Great Helpful Tips.Being Able To Change Locale Is A Godsend...Thank You :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Cheers, Darryl!
@crismurguia7140
@crismurguia7140 2 года назад
Solved my problem instantly, thanks a lot!! Btw I love your accent.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Great to hear, Cris!
@kimgraf4085
@kimgraf4085 Год назад
Super helpful! Very clear and useful!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad you think so!
@clairezhang7351
@clairezhang7351 3 года назад
Thank you so much for sharing this. It is super useful indeed.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Great to hear, Claire :-)
@cholaterahul1975
@cholaterahul1975 Год назад
Cool steps, thanks mam. i dabbled with lot of options in Power Query before hitting your video. Loved your explanation and solved my problem.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Great to hear!
@kamaur01
@kamaur01 2 года назад
This helped me today. Thank you
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
I'm so glad!
@jongcheulkim7284
@jongcheulkim7284 3 года назад
Thank you so much. This is very helpful.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
You're very welcome!
@heikoheimrath7514
@heikoheimrath7514 3 года назад
Hi Mynda - great tips and tricks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks for watching, Heiko!
@DallmanRoss
@DallmanRoss 3 года назад
Fantastic lesson and presentation. Thank you so much! (I can't imagine what the four trolls with the thumbs down as I write this were thinking!)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks so much, Dallman!
@carohitmaloo4076
@carohitmaloo4076 3 года назад
Hi Mynda. Awesome video. Especially the last example and how to use the locale option. Keep it up.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad it was helpful, Rohit!
@rifat_hossain
@rifat_hossain 2 года назад
Brilliant! Solved my issue. Many thanks 🙏
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Great to hear!
@KamikazeRDGem
@KamikazeRDGem Год назад
I was looking for a video like that, thanks you because this is so useful
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad it was helpful!
@massoodmohammadi4767
@massoodmohammadi4767 2 года назад
Thank you so much for this wonderful lesson. I wonder if I can use the power query with the Mac version of Excel?
@eng.ahmedwaznah2261
@eng.ahmedwaznah2261 3 года назад
Many thanks. It's really a great lesson.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you liked it!
@rajeevgosavi4514
@rajeevgosavi4514 2 года назад
Great Madam, This tutorial is simply superb, You have explained in a very simple way to understand. Thanks again. Looking forward to many more on PQE.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Thanks a lot 😊
@keithambio2502
@keithambio2502 2 года назад
Very helpful, thank you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
My pleasure, Keith!
@hamdymahmoud4399
@hamdymahmoud4399 7 месяцев назад
Thank you very much, this helped me a lot.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 месяцев назад
Glad to hear that!
@donlanky6388
@donlanky6388 Год назад
Where has this been all week? I have been stuck trying to solve the issue with mixed date. You definately have a new sub. Thanks sooooooo much
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Awesome to hear, Mike!
@user-tm1eq8rz5s
@user-tm1eq8rz5s 2 года назад
excellent lesson. thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
My pleasure 😊
@ExcelWithChris
@ExcelWithChris 2 года назад
Solved so many issues. Thanks.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Cheers, Chris!
@iankr
@iankr 3 года назад
Thanks! Very useful 😄
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad to hear that, Ian!
@adhamm5503
@adhamm5503 Год назад
Incredibly useful 👌
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Great to hear!
@atta101md
@atta101md 2 года назад
You are amazing!! Thank you so much
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Glad I could help :-)
@finansowyexcel1966
@finansowyexcel1966 2 года назад
Brilliant video thank you
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Glad you enjoyed it 😊
@milanprica7420
@milanprica7420 2 года назад
Thx for this lesson! You're really Beauty and a Beast (in Query) :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
😊 Glad it was helpful!
@bottonline4544
@bottonline4544 2 года назад
Este es el mejor video para transformar fechas en formato texto. Gracias por compartir conocimiento
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Glad you found it helpful!
@sandilekhumalo5693
@sandilekhumalo5693 2 года назад
Thank you this video is helpful 😊
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
I'm so glad!
@johnborg5419
@johnborg5419 3 года назад
Thanks Mynda. That was very helpful!! :) :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Pleased to hear that, John :-)
@unnikrishnansanthosh
@unnikrishnansanthosh Месяц назад
thank you sharing, this one was very helpful
@MyOnlineTrainingHub
@MyOnlineTrainingHub Месяц назад
Great to hear!
@muhammadnurhakimmohdderis4201
@muhammadnurhakimmohdderis4201 3 года назад
I'm always waiting for ur great content like this
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you enjoy it!
@bunnyhei
@bunnyhei 2 года назад
Thank you so much!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
You're welcome!
@gilbertosegoviano7701
@gilbertosegoviano7701 3 года назад
Thank you so much, that was amazing 😄
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
You're welcome, Gilberto! 😊
@clivepetty2338
@clivepetty2338 3 года назад
Many thanks i have date issues in large files and this will be very helpful
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Pleased to hear that, Clive!
@dkurnt6810
@dkurnt6810 3 года назад
Its really great .thanks .
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
You are most welcome :-)
@alexrosen8762
@alexrosen8762 2 года назад
Great tutorial! Thanks :-)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
You're welcome!
@DiamondRock2
@DiamondRock2 3 года назад
very useful thanks a lot
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
You are most welcome, Mohamad!
@alfredochaffardet867
@alfredochaffardet867 2 года назад
Mil gracias por tu ayuda !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
My pleasure 😊
@kalpdalal6534
@kalpdalal6534 Год назад
Wow, this has really helped me
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Awesome to hear 😊
@nipunkavinda8254
@nipunkavinda8254 3 года назад
Very useful for those who work with system generated reports since those exported report have non compatible date formats with excel.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you liked it, Nipun :-)
@chrism9037
@chrism9037 3 года назад
Thanks Mynda. PQ rules!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
It so does, Chris :-D
@solblade3
@solblade3 2 года назад
Thank you for the video! Helped me a lot as I kept getting errors whenever I tried to swap to a whole number.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Great to hear!
@grahamparker7729
@grahamparker7729 3 года назад
Thanks Mynda 👍🏻
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
My pleasure, Graham :-)
@mamadoubah3686
@mamadoubah3686 2 года назад
Hello, Really amazing! this video really helped me fix my date problem in power BI. Thank you so much!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Great to hear!
@mamadoubah3686
@mamadoubah3686 2 года назад
@@MyOnlineTrainingHub Hi, What are your courses listed on UDEMY? Thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Hi Mamadou, thanks for your interest in my courses. My Udemy courses are out of date. I'm not using that site anymore, but you can get all my courses from my own site here: www.myonlinetraininghub.com/
@eighttech
@eighttech 3 месяца назад
Just awesome ❤
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 месяца назад
Thanks a lot 😊
@overdraftracing
@overdraftracing 3 года назад
Thank you so much Mynda! I've been struggling with the last form of date conversion every month for years now and never thought to try PQ... it works flawlessly!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
So pleased to hear this video was helpful :-)
@deependragupta7679
@deependragupta7679 3 года назад
I work with us date format. This is super easy formatting tips. Generally i use text function to change date day and month but i have to do it every time from us to india or india to us format. Thanks a lot mam
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you found it helpful, Deependra. I would avoid using the TEXT function because then the dates are not usable in formulas or PivotTables etc.
@DAMEMPIREForex
@DAMEMPIREForex 3 года назад
Thank you
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
You're welcome :-)
@mohamadraad5038
@mohamadraad5038 3 года назад
I didn't know that is very helpful
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad to hear that, Mohamed :-)
@pardawala_Bhiwandi
@pardawala_Bhiwandi 2 года назад
Is realy need .......Date is big matter madam ...... U r excel The Boss
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Glad you liked it 😊
@user-du1uk7lt8j
@user-du1uk7lt8j Год назад
Thanks. I always felt like col from example was cheating but I'll use it as a quick fix for date formatting!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Glad it'll be helpful!
@perryjurgensjurgens3416
@perryjurgensjurgens3416 3 года назад
Excellent
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Cheers, Perry!
@shrutibag1
@shrutibag1 3 года назад
Awesome ❤️❤️❤️
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks 🤗
@excel-businessinexcel5181
@excel-businessinexcel5181 3 года назад
Спасибо, солнышко!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
My pleasure :-)
@Clock1129
@Clock1129 10 месяцев назад
The best
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 месяцев назад
Thank you! 😊
@datic
@datic 3 года назад
Hi Mynda, great video! I have a question: how can I calculate the time (duration in hh:mm:ss) in Power Query / Power BI? For example, I need to add working hours for different projects. In my Excel file, I have the duration for each activity. When I work with my table in Power Query or Power BI, the format change into a date-time format and I can't do calculations with that.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Thanks, Dan! To answer your question, you can change the data type to Time in Power Query.
@datic
@datic 3 года назад
@@MyOnlineTrainingHub thank you Mynda
@aymanraouf1820
@aymanraouf1820 Год назад
Thank you for the extremely useful video. When you did the change date to locale at 12:00, you set it as the US. but your Excel default is Australian. So if your default was something else, (say another country that uses American style, It would just load it as American style. Is that correct?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
No. The locale you choose in the dialog box is the locale of the source data. Power Query will then convert it to the locale that your PC is set to.
@danielosullivan2502
@danielosullivan2502 Год назад
Hi Mynda, quick question, your explanation is fine if you have 1 column of date formatting issues but i have multiple date columns per tab and 6 tabs. Splitting each column across 6 tabs would take me ages !! How do i re-apply the fix across multiple columns/tabs/sheets?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Hi Daniel, it really depends on how the date is formatted, but either way you'd have to apply the fix to each tab as a separate query unless you're consolidating the data into one table. It's difficult to help here, but if you post your question and sample Excel file on our forum someone can help you further: www.myonlinetraininghub.com/excel-forum
@christianprivat4624
@christianprivat4624 2 года назад
Thanks for the lesson - learned a lot. I have a Question about the Import. My csv Data shows the Date like 02.01.2021 (EU 02.Jan, 2021) when i load in my files to Power Query it shows me a text 2012021 - other Dates like 30.01.2021 will show up as 30012021 (1 more Number) With both i have wrong data with Dates in future or an "Error" is showing up - is there any fix to that Problem? - or is there a way to tell power query that he just have to import the data without removing something like the Dots or the Zerro in front? Thanks a lot
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Hi Christian, You can use Text.PadStart to add a zero to the dates 1st to 9th of each month. Then you can split the result into the 3 date components (day, month and year) and rebuild the date using the #date function. If you get stuck, please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum
@seamushand8439
@seamushand8439 3 года назад
Thanks Mynda that's very helpful. I have file coming to me from Project Managers all over the world and so from mutiple locales. They are all text fields. Is there a way to process data from multiple locales into the format in my locale. Concretely, I have text fields from UK in 01122020 format and12012020 format. Thanks
@seamushand8439
@seamushand8439 3 года назад
should read " and from US in 12012020 format"
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Great to hear it'll be helpful, Seamus! For the different locale files you'd need to change the type using locale on each individual file before appending them into one consolidated table.
@seamushand8439
@seamushand8439 3 года назад
@@MyOnlineTrainingHub Thanks Mynda - i was afraid of that. :)
@seamushand8439
@seamushand8439 3 года назад
Thanks Mynda - i get dates from my US colleagues and I always have a struggle when I try to integrate with my dates here in Ireland.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad it was helpful, Seamus :-)
@ToanNguyen-tk7uf
@ToanNguyen-tk7uf 3 года назад
I found this lesson extremely helpful. However, I have 2 quick questions: in the custom formating option, why the month and year have more letters than day like this: d/mm/yyyy. My 2nd question is that I notice there is a date/time/timezone option in the power query but don't know why you don't select it instead.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you found my video helpful, Toan :-) To answer your questions: 1. d/mm/yyyy will format dates with a single digit day with one character e.g. 1/10/2020 whereas dd/mm/yyyy will format it 01/10/2020 2. Date/Time/Timezone format requires the timezone to be part of the value e.g. how many hours from UTC the time is. More on date timezones in Power Query here: docs.microsoft.com/en-us/powerquery-m/datetimezone-from
@Riri-qi2fu
@Riri-qi2fu 3 года назад
I want to learn more about the dax formula that you've done in dashboard post. Could you please send me a relevant course, please? I might learn it over the Christmas break.😁
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Great to hear you want to learn DAX. You can do so in my Power Pivot course: www.myonlinetraininghub.com/excel-dashboard-course
@Riri-qi2fu
@Riri-qi2fu 3 года назад
@@MyOnlineTrainingHub - Thank you
@AssurexProjects
@AssurexProjects Год назад
I download csv file from my bank and this one bank's date always causes an issue which after watching your clear and concise video, still has yet to solve the issue. I finally just typed out the dates to get it to work (time consuming from all angles). I would love the silver bullet on these dates.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum
@greegan6373
@greegan6373 2 года назад
Mynda, I've come across dates where its shown as August 1st or July 2nd etc. I've been using Replace to remove st, nd, rd, and th from the dates and then a simple date format change is done, but I'm wondering if you have a simpler way of formatting this?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
You could probably use Split to separate the last 2 characters in one go.
@greegan6373
@greegan6373 2 года назад
@@MyOnlineTrainingHub I should have said my dates show as January 4th, 2021. At the moment I find if I remove the nd/rd/th with replace it works fine but with "st" because of August ending with "st" I need to use a replace of "st," to save the spelling of August. Any other suggestions?
@erikguzik8204
@erikguzik8204 Год назад
=Rept("👍",1000) -- "Excel"lent video - this is such a common problem, people copying data into excel from different countries and the dates are a total mess, and there are sumifs() function using the dates to get say monthly totals. And of course, everything is wrong. I really like the different concepts of getting the date correct. going to link this video to many people that have date issues in their files.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Год назад
So pleased it was helpful, and thanks for sharing the video!
@bilguunu5034
@bilguunu5034 2 года назад
Hello, Mynda. Just wondering what would be the solution to dates formatted as 2/6/2018, 6/2/2018, 06/02/2018, 02/06/2018, 6/2/2018, 2/6/2018, 6/02/2018 into one date format as there have been different format texts from a file in the past I'm keen to convert into DD-MM-YYYY? Length of texts is 6,7,8,10 digits if I replace /. For example: Some of them formatted as the month in very left side while other months are positioned in the middle.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 года назад
Hi Bilguun, you can't do this in Power Query because all dates in the column aren't the same format i.e. either text or number. Instead, in Excel add a column that determines whether the dates are text or not using the TEXT function. Then sort the column based on the result. You can then isolate the text values and fix them using one of the options suggested here: www.myonlinetraininghub.com/fixing-excel-dates-formatted-text
@bilguunu5034
@bilguunu5034 2 года назад
@@MyOnlineTrainingHub Thanks, Mynda. What I did was first I separated them using text to columns, then using a formula that will merge them together for example, if F,G,H columns contains either MM,DD,YYYY or DD,MM,YYYY, used =F2&"/"&G2&"/"&H2 formula to join them, then using =date value, lastly format cells so I can convert them to my desired format which is DD/MM/YYYY, but came back as multiple errors as a few of them formatted in 10 digits like 1/2/2020 which could be 01/Feb/2020 or 02/Jan/2020. Pretty long process, isn't it? If I could use just one formula which will isolate them while putting them to only one format would be fantastic... Not sure if this could be possible but what about Using IFERROR, IF formulas to put these bad guys into one column or even with VLOOKUP just for the sake of it would do the magic and if anyone knows how to, your assistance on this matter will be invaluable. Cheers
@SalvatoreTirabassi-11
@SalvatoreTirabassi-11 Месяц назад
I have a question. What happens when you have a row of promoted date headers that need to be changed from text? Right now, I just convert them in excel to become the right data type so that I can use Index/Match/Match to make a report. Wondering how that one row gets converted into the right date format so I can avoid the extra step in Excel.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Месяц назад
Ideally, you should never use dates as headers. Sounds like your data needs unpivoting into a tabular layout: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--IMqkg35adA.html
@teoxengineer
@teoxengineer 3 года назад
Hi Lynda, What I want to learn is that since there are Microsoft engineers who developed the DAX software language and have a much broader formula and data analysis power with the use of DAX, why do the formulas we use in excel have such limited capacity? More precisely, when there was a powerful analysis program like Excel, why was the need to develop a program like PowerQuery and use a different software language? Thank you
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Hi Emre! DAX is designed to be used on relational data, whereas Excel functions are not. This new capacity with Power Pivot required a new language that's design is modeled on the familiar Excel functions. Keep in mind that Excel is built on millions of lines of 35+ year old code. It's not so easy to just change, but we're seeing massive improvements to Excel functions e.g. cells containing rich data types, dynamic arrays, LET and LAMBDA to name a few and there's more coming. Power query is a different tool, it's all about getting and transforming data and that requires a more advanced coding language than Excel functions can give us. The Excel team did a great job of automating the writing of this code by giving us a nice GUI that allows us to click some buttons and have the code written for us.
@NigelDomaingue
@NigelDomaingue 5 месяцев назад
Hello, I have a data source where the date is written as 1st, 2nd, 3rd... of each month and year. The Date.FromText function returns an error. Is there an easy way to convert a string such as '8th November 2023' to a date? I often watch your Excel videos and find them very informative, so thank you for the very useful guides which you produce.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 месяцев назад
Hi Nigel, you could split the number from the 'nd' 'rd' etc. text or replace these text strings with nothing to isolate the number, then it should convert to a date more easily. If you're stuck, please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@NigelDomaingue
@NigelDomaingue 5 месяцев назад
@@MyOnlineTrainingHub .. Thank you.. yes, I did a bit more investigating and splitting the text into constituent parts does seem to be the only method, then applying several steps to remove the ordinal suffixes, then recombine into a date string which Power Query can handle. It does seem like a curious oversight.
@IMAS7512
@IMAS7512 10 месяцев назад
i have a column that contains data like jan, feb, mar but this column not converting into date format in power bi power query
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 месяцев назад
Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@generalx5220
@generalx5220 3 года назад
I know how to = TEXT([cell with date], “ddd”) is this what the video is about? I recently learned about this formatting! Came here to see if this was about that, but it premiers in 36 hours. I’ll check back later!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
No, this video is about fixing dates that have been entered/imported as text and you want to fix them so they're proper date serial numbers that work in formulas, PivotTables etc. I don't recommend using TEXT to format dates unless it's for a chart label or other label.
@generalx5220
@generalx5220 3 года назад
@@MyOnlineTrainingHub ah I see, cool, I’ll check it out later. Thanks for the tip. I’ve got an invoice date on the table, but wasn’t able to sort according to weekday or week in a pivot table, so I added a weekday and week column column in a query first and ran the pivot table off the query. I didn’t want to add those to my original table set.
@abdulqadeerkamangar6279
@abdulqadeerkamangar6279 3 года назад
Can we do this for month year data, Ifor example 012020 Wer 01 month followed by year
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Yes, but you'll have to add a value for the day e.g. the 1st of each month.
@shoppersdream
@shoppersdream 3 года назад
This was so beautiful because I was stuck in trying to change January to Jan and February to Feb but when you said it is done in excel and not in Power Query. I thought OMG now I know why I got stuck. Didn't know that you can't change full month names to shorter names in PQ. Why did you put 0,2,4 for Positions? This is confusing. In my example, some are 11/29/2019 and some are 1/7/2018 so what would be positioned for these examples? Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Glad you found it useful! The 0,2,4 example only applies to dates in this format: 18072020 or 01122020 etc. as in the example shown i.e. where there are no delimiters and the structure is ddmmyyyy or mmddyyyy. If you have delimiters, like the forward slash, then you would use one of the other techniques I showed.
@shoppersdream
@shoppersdream 3 года назад
@@MyOnlineTrainingHub OK! Thank You!
@shoppersdream
@shoppersdream 3 года назад
@@MyOnlineTrainingHub You know what? I was able to get shorter months from Power Query. Someone told me that I will need to manipulate M Code and that is what I did and I was able to get Shorter months from PowerQuery. Thought of letting you know that you can do it in PowerQuery. Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 года назад
Yes, you can, but those months are now text and therefore not usable in formulas, nor will they sort properly because Excel cannot understand them as calendar periods. This is why formatting like this is best done in Excel using cell formatting on date values.