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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

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

  • @kiliev2007
    @kiliev2007 ปีที่แล้ว +4

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

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

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

    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?

  • @paser2
    @paser2 4 หลายเดือนก่อน +2

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

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

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

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

    You were fantastic Changdeep. Thank you for building this for us. I had a use case where I do this process each month and I used to do it the traditional way of copy pasting the data. The timing is right and I feel I have have got this right. Thank you so much. You have been an integral part of my journey to success.

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

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

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

    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 TH-cam and i got good appreciation in my org. It belongs to you as well. Thank you

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

  • @DeepakKashyap-fr3ek
    @DeepakKashyap-fr3ek 9 หลายเดือนก่อน

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

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

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

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

  • @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 8 หลายเดือนก่อน

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

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

    Superb. Your teaching style is excellent .

  • @boochi_coming
    @boochi_coming 9 หลายเดือนก่อน +2

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

  • @CarollRobinson-r8u
    @CarollRobinson-r8u 2 หลายเดือนก่อน

    This is great and I am definitely going to utilize. I do have a question. What happens when the attachment email is deleted or archived?

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

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

  • @mayyyur_patil
    @mayyyur_patil 24 วันที่ผ่านมา

    Hey Chandeep,
    I have a use case on which I would appreciate your insights.
    Use case is somewhat similar.
    I work for Digital Marketing agency and prepare reports from multiple clients, but in my case I get the Data on daily basis on irregular intervals. The Data that the client sends is the data for the ongoing month till date.
    The data has late attributions, for e.g. if today is 10th of the month and client has sent the data till 9th and on the next day lets consider 11th client will send the data till 10th but there's a catch the spends will change due to late attributions .i.e if for 5th the spends were 180rs when the data was sent on 10th then mostly ln 11th when client sends new data the spends for 5th will change from 180 to a new number.
    Current process I am following is:
    I have created a Master dump where I copy paste the crm data on daily basis. I overwrite the new data on old data and then do all of my transformation. Is there a way to automate this?
    Thanks in advance

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

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

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

    Great stuff!! Thanks..what if I want to upload the last data received only rather then combining them?

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

    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.

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

    Perfect solution and very easy method, thanks a lot!

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

  • @mohamedabdo-xg6tw
    @mohamedabdo-xg6tw 2 หลายเดือนก่อน

    Thank you for the trick, I was wondering if there is a way to auto refresh the query.

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

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

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

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

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

    Interesting video! How can I import data emails in shared mail box ( the company mail box which I and 3 other can access to) .

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

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

  • @natsarev
    @natsarev ปีที่แล้ว +4

    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.

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

    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

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

    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 ?

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

    Excelente video.
    Esto me ahora un tiempo importante diariamente en mi trabajo.
    Muchas gracias

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

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

  • @ca.cs.subachandranmurugesa2560
    @ca.cs.subachandranmurugesa2560 ปีที่แล้ว

    Wow.. this opens up whole new opportunities

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

  • @ashok-bejawada
    @ashok-bejawada 8 หลายเดือนก่อน

    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.

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

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

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

    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?

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

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

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

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

    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?

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

    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!

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

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

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

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

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

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

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

    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?

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

    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.

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

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

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

  • @Soydenoriadesopena
    @Soydenoriadesopena 12 วันที่ผ่านมา

    It looks like you make it very easy, what can you recommend me to create a macro or something that will help me to solve a task I have to do. The idea is that when a specific email is sent with a specific file, this is automatically moved to a SharePoint location. Please anything can help me...

    • @GoodlyChandeep
      @GoodlyChandeep  11 วันที่ผ่านมา

      This can be done very easily using Power Automate.

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

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

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

    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?

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

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

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

    Interesting. Does this work where an email account is hosted on Microsoft exchange server. Please clarify.

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

    Indeed very useful trick! Thanks for sharing

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

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

    Chandeep you’re a Power Query rockstar 🤩

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

      I am cursed with bad data and defend myself using Power Query😂
      Thank you @MissMicrosoft :)

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

      Thank God for bad data! 💪

  • @zaapshap3892
    @zaapshap3892 18 วันที่ผ่านมา +1

    I didn't need to combine any file just want to use the latest file to refresh the data

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

    Is there anyway I can use this step but make the new data replace the old one instead of combining the data please

  • @rajkumarreddy-my4vd
    @rajkumarreddy-my4vd 5 หลายเดือนก่อน

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

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

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

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

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

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

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

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

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

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

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

    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?

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

    Hi chandeep. I was looking for somethign like this. The only difference is my attachments has .txt file. I am stucked with table transform step. How should I proceed further ?

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

    can we do the same using Gmail and word file as attachment instead of outlook and excel????

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

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

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

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

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

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

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

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

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

    Absolutely awesome! Thank you!

  • @Chris-tj4es
    @Chris-tj4es 11 หลายเดือนก่อน

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

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

  • @RaviGupta-mo1nf
    @RaviGupta-mo1nf ปีที่แล้ว

    Lovely !!
    If I receive data for a particular month twice (or more) & the second file has corrected data, how do I choose the last corrected file?

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

      You'll have to apply a latest date filter for each month in the received date column.

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

    This was an awesome info, thanks for sharing!!

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

    super cool time saver, thank you for sharing

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

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

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

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

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

    Very useful, thanks for the guide!

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

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

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

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

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

    Can I login to a website and then navigate into same website to import data as table in power query

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

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

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

    Chandeep, at 7:21 when you use Excel.Workbook to transform to readable Excel tables, I have csv files, I have tried to replace Excel.Workbook by Csv.Documents but I may miss something here, any chance ? :)

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

      I figured it out, so that if it can help someone else = Table.TransformColumns(PrevStep,{{"AttachmentContent",Csv.Document}})

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

    This is insane Chandeep...

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

    the function of table.transfercolumns is not working if the extension type used is in .xls format. the attachment content shows "error" when i followed the excel.workbook format. what format should i used then? thank you! :))

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

    Is there any way we pick data from email body also?

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

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

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

    Hi, Chandeep, how to do when the attachment is a password-protected file (each attachment has a different password - like the customer's bank account number) - is it possible to break the password?

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

    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

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

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

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

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

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

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

  • @ArnoldDev-i5f
    @ArnoldDev-i5f 2 หลายเดือนก่อน

    I have a huge dataset and I don’t want to refresh the whole dataset everytime… is it possible just to append the new data??

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

    What is the possible downside of keeping data on the Mail Exchange? What if there is a retention policy or things get archived automatically due to corp policy.