Easily Fix Dates Formatted as Text with Power Query

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2024
  • 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/e...
    Download the practice file: www.myonlinetraininghub.com/f...
    Learn Power Query: www.myonlinetraininghub.com/e...
    Excel 2010 & 2013 users download the free Power Query add-in here: www.microsoft.com/en-au/downl...
    View my comprehensive courses: www.myonlinetraininghub.com/
    Connect with me on LinkedIn: / myndatreacy
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 260

  • @cuboseta
    @cuboseta ปีที่แล้ว +1

    Mynda I'm brazilian and want to enormously THANK YOU for the lessons. Literally saved my job! God bless your job.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  ปีที่แล้ว +1

      Wow, so pleased I could help!

    • @cuboseta
      @cuboseta ปีที่แล้ว

      @@MyOnlineTrainingHub 🙏🙏🙏🙏

  • @garethwoodall577
    @garethwoodall577 ปีที่แล้ว

    Many thanks I had to use the locale method for the first time today really appreciate your channel Mynda!

  • @georgel1055
    @georgel1055 3 ปีที่แล้ว +1

    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!

  • @libbyreiser6214
    @libbyreiser6214 3 ปีที่แล้ว +7

    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 👍

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 ปีที่แล้ว +2

    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! 😊👍

  • @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!!

  • @ziggle314
    @ziggle314 3 ปีที่แล้ว +1

    Beautiful exposition! Also wanted to mention that I took your dashboard course and I use the techniques I learned there every day.

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 ปีที่แล้ว +1

    I follow all your videos with great expectation, especially those about Power Query. Thank you very much for your dedication.

  • @crismurguia7140
    @crismurguia7140 2 ปีที่แล้ว

    Solved my problem instantly, thanks a lot!! Btw I love your accent.

  • @felipe4181
    @felipe4181 3 ปีที่แล้ว +1

    Thanks Mynda! dates are one of the most important data in data bases, these conversions are really usefull!!

  • @TheOrganizedProfessional
    @TheOrganizedProfessional 2 ปีที่แล้ว

    You are a life saver. Thank you so very much!

  • @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.

  • @RCTurbine
    @RCTurbine 3 ปีที่แล้ว

    Thanks Mynda, I work with US dates all the time, and this really helps.

  • @nurmohammedmunshi4894
    @nurmohammedmunshi4894 3 ปีที่แล้ว

    A talented expert I have ever seen before. A lots of respect from my heart ♥. God bless you.

  • @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 😀

  • @BenDieselBasicAutomotive
    @BenDieselBasicAutomotive ปีที่แล้ว

    Very detailed explanation.. Thank you very much...

  • @newmasuzzo
    @newmasuzzo ปีที่แล้ว

    Mynda, thank you so much for saving me from trying everything that did not work.
    Brilliant video as usual.

  • @milanprica7420
    @milanprica7420 2 ปีที่แล้ว

    Thx for this lesson! You're really Beauty and a Beast (in Query) :)

  • @sundertalreja7208
    @sundertalreja7208 3 ปีที่แล้ว

    Thanks for showing us the versatile use of PQ. Great Video.

  • @JAAP2101
    @JAAP2101 3 ปีที่แล้ว

    Thanks Mynda. It's a really great content. God bless you!

  • @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!!

  • @MoeDia-vr4tk
    @MoeDia-vr4tk หลายเดือนก่อน

    YOU ARE A GENIUS!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  หลายเดือนก่อน

      So pleased you found the video helpful 🙏😊

  • @ravingagunawardana178
    @ravingagunawardana178 2 ปีที่แล้ว

    Saved me a ton of work! Thanks!

  • @warrenrodrigues2110
    @warrenrodrigues2110 ปีที่แล้ว

    Learned something new today, Thankyou

  • @KamikazeRDGem
    @KamikazeRDGem ปีที่แล้ว

    I was looking for a video like that, thanks you because this is so useful

  • @DougHExcel
    @DougHExcel 3 ปีที่แล้ว

    Great examples of date transformations!

  • @cherianiype
    @cherianiype 3 ปีที่แล้ว

    @MyOnlineTrainngHub - Awesome stuff as ever Mynda. Thanks for sharing. Take care and stay safe!

  • @heikoheimrath7514
    @heikoheimrath7514 3 ปีที่แล้ว

    Hi Mynda - great tips and tricks

  • @MrMkx007
    @MrMkx007 ปีที่แล้ว

    Amazing - Example 5 was my issue, super easy fix!! Thank you so much!!

  • @chonzadaniel
    @chonzadaniel 3 ปีที่แล้ว

    Thanks for sharing this Mynda, very useful tricks!

  • @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!

  • @kimgraf4085
    @kimgraf4085 ปีที่แล้ว

    Super helpful! Very clear and useful!

  • @clairezhang7351
    @clairezhang7351 3 ปีที่แล้ว

    Thank you so much for sharing this. It is super useful indeed.

  • @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 =)

  • @darrylmorgan
    @darrylmorgan 3 ปีที่แล้ว

    Hi Mynda!Really Great Helpful Tips.Being Able To Change Locale Is A Godsend...Thank You :)

  • @DallmanRoss
    @DallmanRoss 3 ปีที่แล้ว +2

    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!)

  • @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

  • @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.

  • @rifat_hossain
    @rifat_hossain 2 ปีที่แล้ว

    Brilliant! Solved my issue. Many thanks 🙏

  • @kamaur01
    @kamaur01 2 ปีที่แล้ว

    This helped me today. Thank you

  • @carohitmaloo4076
    @carohitmaloo4076 3 ปีที่แล้ว

    Hi Mynda. Awesome video. Especially the last example and how to use the locale option. Keep it up.

  • @muhammadnurhakimmohdderis4201
    @muhammadnurhakimmohdderis4201 3 ปีที่แล้ว

    I'm always waiting for ur great content like this

  • @jongcheulkim7284
    @jongcheulkim7284 3 ปีที่แล้ว

    Thank you so much. This is very helpful.

  • @johnborg5419
    @johnborg5419 3 ปีที่แล้ว

    Thanks Mynda. That was very helpful!! :) :)

  • @eng.ahmedwaznah2261
    @eng.ahmedwaznah2261 3 ปีที่แล้ว

    Many thanks. It's really a great lesson.

  • @hamdymahmoud4399
    @hamdymahmoud4399 7 หลายเดือนก่อน

    Thank you very much, this helped me a lot.

  • @adhamm5503
    @adhamm5503 ปีที่แล้ว

    Incredibly useful 👌

  • @user-tm1eq8rz5s
    @user-tm1eq8rz5s 2 ปีที่แล้ว

    excellent lesson. thank you!

  • @bottonline4544
    @bottonline4544 2 ปีที่แล้ว

    Este es el mejor video para transformar fechas en formato texto. Gracias por compartir conocimiento

  • @unnikrishnansanthosh
    @unnikrishnansanthosh หลายเดือนก่อน

    thank you sharing, this one was very helpful

  • @keithambio2502
    @keithambio2502 2 ปีที่แล้ว

    Very helpful, thank you.

  • @gilbertosegoviano7701
    @gilbertosegoviano7701 3 ปีที่แล้ว

    Thank you so much, that was amazing 😄

  • @eighttech
    @eighttech 3 หลายเดือนก่อน +1

    Just awesome ❤

  • @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/

  • @ExcelWithChris
    @ExcelWithChris 2 ปีที่แล้ว

    Solved so many issues. Thanks.

  • @iankr
    @iankr 3 ปีที่แล้ว

    Thanks! Very useful 😄

  • @atta101md
    @atta101md 2 ปีที่แล้ว

    You are amazing!! Thank you so much

  • @chrism9037
    @chrism9037 3 ปีที่แล้ว

    Thanks Mynda. PQ rules!

  • @finansowyexcel1966
    @finansowyexcel1966 2 ปีที่แล้ว

    Brilliant video thank you

  • @nipunkavinda8254
    @nipunkavinda8254 3 ปีที่แล้ว

    Very useful for those who work with system generated reports since those exported report have non compatible date formats with excel.

  • @alexrosen8762
    @alexrosen8762 2 ปีที่แล้ว

    Great tutorial! Thanks :-)

  • @clivepetty2338
    @clivepetty2338 3 ปีที่แล้ว

    Many thanks i have date issues in large files and this will be very helpful

  • @sandilekhumalo5693
    @sandilekhumalo5693 2 ปีที่แล้ว

    Thank you this video is helpful 😊

  • @grahamparker7729
    @grahamparker7729 3 ปีที่แล้ว

    Thanks Mynda 👍🏻

  • @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?

  • @bunnyhei
    @bunnyhei 2 ปีที่แล้ว

    Thank you so much!

  • @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.

  • @kalpdalal6534
    @kalpdalal6534 ปีที่แล้ว

    Wow, this has really helped me

  • @dkurnt6810
    @dkurnt6810 3 ปีที่แล้ว

    Its really great .thanks .

  • @alfredochaffardet867
    @alfredochaffardet867 2 ปีที่แล้ว

    Mil gracias por tu ayuda !

  • @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 ปีที่แล้ว +1

      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.

  • @DiamondRock2
    @DiamondRock2 3 ปีที่แล้ว

    very useful thanks a lot

  • @pardawala_Bhiwandi
    @pardawala_Bhiwandi 2 ปีที่แล้ว

    Is realy need .......Date is big matter madam ...... U r excel The Boss

  • @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!

  • @mohamadraad5038
    @mohamadraad5038 3 ปีที่แล้ว

    I didn't know that is very helpful

  • @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!

  • @DAMEMPIREForex
    @DAMEMPIREForex 3 ปีที่แล้ว +1

    Thank you

  • @excel-businessinexcel5181
    @excel-businessinexcel5181 3 ปีที่แล้ว

    Спасибо, солнышко!

  • @shrutibag1
    @shrutibag1 3 ปีที่แล้ว

    Awesome ❤️❤️❤️

  • @perryjurgensjurgens3416
    @perryjurgensjurgens3416 3 ปีที่แล้ว

    Excellent

  • @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.

  • @erikguzik8204
    @erikguzik8204 11 หลายเดือนก่อน

    =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  11 หลายเดือนก่อน

      So pleased it was helpful, and thanks for sharing the video!

  • @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

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@MyOnlineTrainingHub - Thank you

  • @Clock1129
    @Clock1129 10 หลายเดือนก่อน

    The best

  • @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

  • @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.

  • @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 ปีที่แล้ว +1

      Thanks, Dan! To answer your question, you can change the data type to Time in Power Query.

    • @datic
      @datic 3 ปีที่แล้ว

      @@MyOnlineTrainingHub thank you Mynda

  • @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

  • @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. :)

  • @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

  • @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.

  • @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: th-cam.com/video/-IMqkg35adA/w-d-xo.html

  • @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 ปีที่แล้ว +1

      @@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.

  • @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 ปีที่แล้ว +2

      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.

  • @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?

  • @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 ปีที่แล้ว +1

      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

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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.

  • @damilolaodili559
    @damilolaodili559 2 ปีที่แล้ว

    Stuck on the first example ma'am. It keeps returning "Error" for the merged column after trying to change the data type from number to date. I'm confused.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 ปีที่แล้ว

      Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum