Auto-Import Data from Email Attachments to Excel using Power Query

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
    Are you tired of manually importing Excel data from email attachments every month? In this video tutorial, I will show you how to set up an automation using Power Query to automatically import Excel data from email attachments and merge them into a single Excel file.
    This time-saving solution will allow you to effortlessly extract the data from the email attachment and use it for further data analysis. Watch the video to learn the step-by-step process and start saving time today!
    #ExcelDataImport #EmailAttachments #automation #powerquery
    ===== ONLINE COURSES =====
    ✔️ Mastering DAX in Power BI -
    goodly.co.in/learn-dax-powerbi/
    ✔️ Power Query Course-
    goodly.co.in/learn-power-query/
    ✔️ Master Excel Step by Step-
    goodly.co.in/learn-excel/
    ✔️ Business Intelligence Dashboards-
    goodly.co.in/learn-excel-dash...
    ===== LINKS 🔗 =====
    Blog 📰 - www.goodly.co.in/blog/
    Corporate Training 👨‍🏫 - www.goodly.co.in/training/
    Need my help on a Project 💻- www.goodly.co.in/consulting/
    Download File ⬇️ - goodly.co.in/how-to-import-ex...
    ===== CONTACT 🌐 =====
    Twitter - / chandeep2786
    LinkedIn - / chandeepchhabra
    Email - goodly.wordpress@gmail.com
    ===== WHO AM I? =====
    A lot of people think that my name is Goodly, it's NOT ;)
    My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
    Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!
  • НаукаНаука

Комментарии • 181

  • @Lalithchary
    @Lalithchary 6 месяцев назад +2

    Thank you for the tutorial, it is amazing, how can we do on PDF's and CSV's ?

  • @kiliev2007
    @kiliev2007 Год назад +2

    Your channel is one of the most underrated in the sphere.

  • @ourlittlesmarties1188
    @ourlittlesmarties1188 Год назад +2

    This is very useful! Thank you so much for sharing it. Love watching your videos and your explanation is perfect!

  • @paser2
    @paser2 20 дней назад

    I love this, because it eliminates the need to Power Automate. Thanks for sharing this.

  • @cjimmer4877
    @cjimmer4877 Год назад +3

    Amazing! Thank you for posting. I can't wait to try this out on PDFs

  • @MGA19a
    @MGA19a 4 месяца назад

    This is like a mini-course on this topic - great stuff - thank you for posting this content !

  • @paspuggie48
    @paspuggie48 Год назад +3

    I have used this solution before and my clients love it. Well done Chandeep for making a video about it 😊

  • @keagankemp6275
    @keagankemp6275 Год назад +2

    Aah this is beautiful, I had to use a flow but now I can do it in these easy steps thanks a mil

  • @nonoobott8602
    @nonoobott8602 Год назад

    This is very apt. I sure need this and you are so explicit. Thanks so much for sharing

  • @jibinvinod4337
    @jibinvinod4337 11 месяцев назад

    You have no idea, how usefull this information to me. you are a gem!

  • @ocismorkayo4659
    @ocismorkayo4659 Год назад +2

    Technical A-ha moment. Simple, quick, awesome. Many thanks Chandeep. A huge thumb up😊

  • @alexrosen8762
    @alexrosen8762 Год назад

    Very very useful. Thank you for yet another informative tutorial 🙌

  • @DeepakKashyap-fr3ek
    @DeepakKashyap-fr3ek 6 месяцев назад

    Seriously, it is insane. .. Thank you Chandeep.

  • @Archie167
    @Archie167 11 месяцев назад

    This was an awesome info, thanks for sharing!!

  • @tersit89
    @tersit89 5 месяцев назад

    Perfect solution and very easy method, thanks a lot!

  • @arunkumarkesavan6077
    @arunkumarkesavan6077 Год назад

    Harray Bro!!! Its really awesome. I recently tried using the same thing using Alteryx and Outlook macro and finally load the data into PowerBI. Now its super easy and skip the intermediate steps. As usual again its clear and useful !!!
    Waiting to see your subscriber to reach million !!!

  • @IvanCortinas_ES
    @IvanCortinas_ES 11 месяцев назад

    Absolutely handy, Sir. Thank you very much for the impressive video.

  • @ursvenky6394
    @ursvenky6394 7 месяцев назад

    I have been following you for power query solutions. Excellent solutions you provided. We are very that your on youtube to provide solutions or else i couldn't get solutions. I implemented things in powerquery which you suggested on RUclips and i got good appreciation in my org. It belongs to you as well. Thank you

  • @emilmubarakshin49
    @emilmubarakshin49 Год назад

    Absolutely awesome! Thank you!

  • @phoolkhan87
    @phoolkhan87 Год назад

    Looking this kind of trick from last 11 months.
    Receiving more than 100 branches excel file having locked format and placing the same in my folder one by one and so on and so on...
    You can't imagine that what kind of relaxing I'm thinking.
    Goodly u r really 💕.

  • @DMatWork
    @DMatWork 10 месяцев назад

    Very useful, thanks for the guide!

  • @Rice0987
    @Rice0987 Год назад +1

    I saw kind manipulations with emails at Leila, but i didnt dig into this topic (i didnt see, what can i do with that). But now i know, where i'll try your precious technique, cause before this moment i would have to save that files, prepare them with vba and after update with pq and finally get the data i need.😌
    I hope i'll be able to apply this lesson tomorrow at work.
    Great thanks, boss!🤗

  • @josecarlosconejo5724
    @josecarlosconejo5724 Год назад +4

    Really impressive!! I do have these cases at work and I keep on taking the time to save the files in one folder to which I connect Power Query. You got a new subscriber 😊

    • @GoodlyChandeep
      @GoodlyChandeep  Год назад +1

      Excellent! :)

    • @patrickkinbonso1809
      @patrickkinbonso1809 5 месяцев назад

      ​@@GoodlyChandeepbig fan. Quick question please. Does it mean then I can't delete that email from my mailbox or I risk PQ not extracting those emails anymore? Also would this make me a single point of failure as my colleagues have no access to my email? Finally, what happens if some attachments are of an excel doc as attachments and some CSV, do I need multiple queries to do the same extraction?

  • @kumarvg5383
    @kumarvg5383 Год назад

    Thanks for this Video... I've already started to used it for my work 😊

  • @unnikrishnansanthosh
    @unnikrishnansanthosh Год назад

    super cool time saver, thank you for sharing

  • @madhumatikoli1503
    @madhumatikoli1503 2 месяца назад

    Thank you...this is useful and to the point

  • @NotBen101
    @NotBen101 Год назад +1

    This should be required viewing for everyone interning rn. I see that there are tables for calendar invites. When I do audit work, I need to keep track of who I spoke to and when I spoke to them. This feature looks like it will help me keep track of this.

  • @rangs1966
    @rangs1966 Год назад +1

    Superb. Your teaching style is excellent .

  • @rohitwaradpande2492
    @rohitwaradpande2492 Год назад

    Indeed very useful trick! Thanks for sharing

  • @vinhwizard
    @vinhwizard Месяц назад

    Perfect solution, thank you. And we can save files automatically to a folder by Automate. Please make a more Video about this

  • @muneerrahiman9846
    @muneerrahiman9846 Год назад

    Omg...this is suuper cool....thanks chandeep for such a great tip

  • @flyingHubby
    @flyingHubby Год назад

    Thanks. So very nice video again.
    Of course I would need to make sure that the e-mails are kept in Exchange ... But since I cannot use Automate and Excel because I don#t have a business account, it is a nice workaround.

  • @TheSuvankarKundu
    @TheSuvankarKundu Месяц назад

    This was so awesome.

  • @ca.cs.subachandranmurugesa2560

    Wow.. this opens up whole new opportunities

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi Год назад

    Wow Great Video as usual keep uploading more such Videos.. ❤

  • @vashisht1
    @vashisht1 Год назад +1

    It buy me some time to watch goodly videos on youtube😂...keep up the good work veera..

  • @shubhamaggarwal6746
    @shubhamaggarwal6746 Год назад

    This one is really powerful & time preserving idea. Thanks for sharing 🙌❤

  • @TheRathnakara
    @TheRathnakara 3 месяца назад

    Great Stuff.

  • @Ratnakumarwrites
    @Ratnakumarwrites Год назад

    Wow... A great video and explanation aa always Chandeep...

  • @navinsiriwardena6635
    @navinsiriwardena6635 2 месяца назад

    Thank you :)

  • @raghavshanbhag9308
    @raghavshanbhag9308 4 месяца назад

    great skill thank you

  • @MattiasGregersen
    @MattiasGregersen Год назад +1

    Using PowerAutomate to handle this scenario for a shared mailbox today. If possible, could we skip that and use PQ directly? If so, I think that'd be a great next video.
    Thanks!

  • @SantoshBudakoti
    @SantoshBudakoti Год назад

    This is very informative and time saving... I have do this with Power BI

  • @ajkrishna001
    @ajkrishna001 Год назад

    Very useful... Great info

  • @BertandRussell
    @BertandRussell Год назад

    Incredible!!!

  • @sunnygala7972
    @sunnygala7972 Год назад

    Thanks Chandeep!

  • @VIJAY-pd4jt
    @VIJAY-pd4jt Год назад

    Excellent video.🎉

  • @johnmanuelraj7555
    @johnmanuelraj7555 7 месяцев назад

    Very impressive

  • @natsarev
    @natsarev Год назад +3

    That's cool! I have a daily parsing reports and I used to use macro that copied all of the attachements to a certain folder to wich PQ was connected. That didn't take a lot of time in my case but direct connection is definetly better :)

    • @sass520
      @sass520 Год назад

      Wht do you mean by " Direct Connection"? Did he use Direct Query here ? I didn't understand the type of connection used

    • @natsarev
      @natsarev Год назад +1

      @@sass520 I mean connection to inbox directly from PQ without having to save attachements to a folder first. It's not direct query.

  • @tezbriz
    @tezbriz 7 месяцев назад

    Brilliant video, just what I was looking for. I have everything working fine. I used power query to clear the data down to just 3 columns and is updated regularly. How would I add a column that shows when the record on each row was last updated. ? When I start drilling down through the attachments I can see a date and time column of when the email arrived but haven’t been able to include it in the final query data I load.

  • @sasda1234s
    @sasda1234s Год назад

    Amazing, i will try this

  • @MyAvn
    @MyAvn 3 месяца назад

    Thanks

  • @dc345601
    @dc345601 11 месяцев назад

    Thank you very much for this video! Extremely helpful. The documents that I’m trying to access are PDF and Docx. The documents unfortunately need to be reviewed and an over status assigned. How would you recommend going about this? Thanks again!

  • @josealvesferreira1683
    @josealvesferreira1683 10 месяцев назад

    very good, thanks.

  • @prajapatirp
    @prajapatirp Год назад

    This is insane Chandeep...

  • @WWIESE1000
    @WWIESE1000 7 месяцев назад

    Another great solution provided by you! I really enjoy watching your videos, which are really helping me finding the way thru Power Query. Is this a possible way to import XML files as e-mail attachments?

  • @HemanthKumar-lb4xt
    @HemanthKumar-lb4xt Год назад

    Awesome... Good learning from as always

  • @evetteprout9814
    @evetteprout9814 6 месяцев назад

    Thank you very much, is it possible to also do the same and pull in the content from Outlook File Types (email attachments), instead of .xlsx files?

  • @Ody2004
    @Ody2004 Год назад

    Great video! I was just using Power Automate to load email attachment to Power Query last week. Btw any chance to load a table from email body to Power Query?

  • @syednayyar
    @syednayyar 2 месяца назад

    Super Dooper amazing 80% of the times its the case ..!! its kinda Free Alteryx workings lolz

  • @dilipinamdarpatil6301
    @dilipinamdarpatil6301 Год назад

    This is amezing,🙏🏼

  • @juanpaolo21yt
    @juanpaolo21yt Год назад

    I did this technique using Vba. So when I saw this, I WATCHED THE WHOLE
    VIDEO!! This is faster N flexible. Thank you mr handsome.

    • @juanpaolo21yt
      @juanpaolo21yt Год назад

      The only concern I have is, what if someone emailed me at 11am, and then sent an email again at 2pm with corrections. How does pquery treat it? Will that be treated as duplicates which means will mKe the table bigger?

  • @gauthamk1485
    @gauthamk1485 Год назад

    Awesome Bro! This is very useful... how to get the data if it is moved to particular folder in Outlook?

  • @ahmed007Jaber
    @ahmed007Jaber 8 месяцев назад

    excellent work, mate.
    wonder if there is a way to have a link for attachments so that I can scrape them and archive them. I have a use case to download 100+ files from emails

  • @dbwkg6885
    @dbwkg6885 Год назад

    Awesome, as always, very useful....but now, a new challenge what about Teams and files embedded ? How could we process this kind of issue? Thank you so much Chandeep

  • @yoginathbadadale
    @yoginathbadadale Год назад

    This is awsome

  • @MarkvanValkenburg
    @MarkvanValkenburg 4 месяца назад

    Excellent tutorial Chandeep. Cutting out the unreliable Outlook rules is a great step forward. Can you set this up for inbox sub folders?

  • @dmclean3324
    @dmclean3324 Год назад

    outstanding

  • @jorstube
    @jorstube Год назад

    Maravilloso

  • @ramruttunaubeeluck9235
    @ramruttunaubeeluck9235 Год назад

    Awesome

  • @jithuraphael1993
    @jithuraphael1993 Год назад

    Thank u for an informative video. And one request instead of appending the data can u also give a solution how to save the data into different sheets in excel.

  • @hz3jc9
    @hz3jc9 5 месяцев назад

    Great tip. Thank you so much
    But last step is not working for me, I am getting external table not in the expected format error, all my files are csv though, does this work for csv files ?

  • @SAIKISH2005
    @SAIKISH2005 Год назад

    Fantastic ji. How about if the same pattern of pdf files received in emails from specific person like bank statements? Can we do the same steps?

  • @narendravishwakarma4646
    @narendravishwakarma4646 Год назад +1

    Is this same step. I can follow for archived/offline outlook file!!
    If not can you guide me to do the same with archived *.pst file

  • @SparkVox
    @SparkVox 6 месяцев назад

    Great work brother, what should we do in case of multiple attachments

  • @aman_mashetty5185
    @aman_mashetty5185 Год назад

    Awesome trick!!
    What if a person sent revised file example mar month he sent twice then both file will fetch then how to remove the old and consider into account the new one any idea how to tackle it

  • @TheJaime10000
    @TheJaime10000 Год назад

    This video is so informative! Can you explain how I could apply this to pdf files?

  • @mirrrvelll5164
    @mirrrvelll5164 Год назад

    Great! Can it be applicable if I am receiving .zip file (with .csv inside) and then to extract it?

  • @prashantsuthar7
    @prashantsuthar7 Год назад

    Thanks 👍. It works with my organization 365 office email ?

  • @adin6429
    @adin6429 Год назад +1

    That's amazing.
    I wonder what if I want to update the source of the query with new attachment received from Outlook rather than combining them together. For example, instead of combining Jan and Feb .xlsx, I want to update feb.xlsx in place of Jan.xlsx.

    • @pandeyshivam1
      @pandeyshivam1 Год назад

      In the DatetimeReceived column, just filter "is latest". All the best!

  • @J1N-7
    @J1N-7 10 месяцев назад

    Hi, what's alternative for CSV? The table.tranformcolums for each excel.workbook produces error column instead of excel, any help would be appreciated! I'm working with CSV rather than xlsx.

  • @dolphinloh7018
    @dolphinloh7018 11 месяцев назад

    Good day Goodly, can it be done for email tables info other than attachments?

  • @atulbhandvalkar2510
    @atulbhandvalkar2510 Год назад +1

    Thank you for such an amazing informative video. What if the we want power query to fetch email from any other folder? Plus if the data is coming through email on daily basis in MTD (month till date) and we need to replace the data on daily basis?

  • @tezbriz
    @tezbriz 2 месяца назад

    Can you use Power Bi to do this too? I have to have outlook and excel open for this to work. I have it as part of a power automate flow. Is there a way to do it all in the background?

  • @excel-jodallah
    @excel-jodallah Год назад

    Very very useful , Does this work with an email on the Hotmail server

  • @georgekipan9246
    @georgekipan9246 Год назад

    Thanks..Very interesting.How do I import a pdf and MS word from outlook?

  • @nomanmushtaq7384
    @nomanmushtaq7384 10 месяцев назад

    Useful Tip. I receive monthly data in 3 to 4 batches every month. Is there any way to create a separate sheet for each month using power query without following all steps every month?

  • @saneeshkrishna3818
    @saneeshkrishna3818 Год назад

    You are amazing brooooo
    I want to become expert in power query. What should I do??

  • @michaeldolan7507
    @michaeldolan7507 Год назад

    When you do the Table.TransformColumns what do you put for for PDF's?

  • @warrenanderson6014
    @warrenanderson6014 Год назад

    This is great...does it work for emails sent to Gmail??

  • @ananthalakshmiragi4446
    @ananthalakshmiragi4446 6 месяцев назад

    Can we refresh it automatically instead of us refreshing the file? Also I would like it if I can send out the consolidated data as a chart or as is via mail again.. please let me know if there is any other video covering this.

  • @ashok-bejawada
    @ashok-bejawada 5 месяцев назад

    Excellent job. Never find this type of solutions.If I want use same solution for Excel 365 also. But it's unable to run the power quary in office 365. Can u provide any alternative solution.

  • @rajkumarreddy-my4vd
    @rajkumarreddy-my4vd Месяц назад

    do we required separate mail id or we can use business mail id or our company mail id is fine

  • @nehaahuja4829
    @nehaahuja4829 11 месяцев назад

    Hi chandeep, I have a case where I will be daily getting a file with updated data from service now in my outlook email. That attachment includes the previous data as well the updated rows in that attachment. What would be best way to do this. It's daily updated attachment? Any suggestion

  • @yoginathbadadale
    @yoginathbadadale Год назад

    Can we map shared mailbox if yes any additional steps need to take please advise 🙏

  • @Chris-tj4es
    @Chris-tj4es 7 месяцев назад

    does it only work with Outlook? is it possible to import files from a Thunderbird email address?

  • @evangelicana5083
    @evangelicana5083 2 месяца назад

    this is very useful to me. but I need to watch it over and over again to remember the process..😂

  • @yam5400
    @yam5400 3 месяца назад

    Is it possible to link this with for e.g. ChatGPT to get specific Information out of a pdf that is always different, like invoices and i want to get out the invoice date, amount, out of each of those?

  • @subhajitdutta8386
    @subhajitdutta8386 16 дней назад

    Can we do the same and load data to power bi desktop

  • @shubhabratadey
    @shubhabratadey Год назад

    This is good but is there anyway by which we can auto refresh the Power Query file? We have several Power Automate steps with Excel Scripts but they don't run properly.