Power Automate Export to Excel | Dynamically create Table, Columns & Add Rows to Excel | Send Email

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • In this tutorial, I will show how to add data dynamically to an Excel file using the Add a row into a table action from Excel Online connector.
    We will dynamically create a Table, add columns by defining the table range & column names and more.
    This Power Automate flow pattern can be applied to any data source or service to fetch the data and then do a for each row on the data and add it to the Excel table.
    Lastly, we will send an email and attach the generated Excel file.
    We will cover the above with examples using SharePoint, Dataverse and Planner as data source.
    Topics covered:
    ✔️ Export to Excel Power Automate flow pattern
    ✔️ Dynamically Create Table, Add Columns, Add Rows in Excel
    ✔️ Send email from flow with Excel file attached
    🔗 Power Automate Export to Excel Sample flow download link:
    github.com/rdorrani/Microsoft...
    🔗 John Liu twitter post:
    johnnliu/status/1...
    #Microsoft #PowerAutomate #Excel
    Table of Contents:
    00:00 - Introduction
    00:26 - Export data from SharePoint to Excel (Generate the Columns of Excel file)
    03:20 - Create Excel file in OneDrive
    05:13 - Create Table in Excel (Table Range A1 Notation)
    06:29 - Add a row into a Table (Excel)
    08:05 - Power Automate Send Excel file in Email
    09:34 - Dynamically Add Columns & Create Table in Excel
    14:44 - Reusable flow pattern for exporting to Excel
    14:56 - Export data from Microsoft Dataverse to Excel using Power Automate
    15:47 - Export Tasks data from Planner to Excel using Power Automate
    16:19 - Subscribe to Reza Dorrani channel

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

  • @cmarkbernal
    @cmarkbernal 2 года назад +17

    Excellent! I love that you provide demos on real-life business examples and I can put them into practice immediately!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Glad you like them! Thanks for watching.

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

      @@RezaDorrani Good morning Raza. I have a scenario like there will 500 coloumns in my share point list. I have a download button in my canvas aap. When I click download these records are downloaded in excel template format(for this I will take add rows into a table action (exce online business) iam used but it takes 15-20 mins to complete the flow) is there any alternate to download data from database using canvas&powerautomate flow?

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

      @@khasimshaik2606 500 columns are too many. You need to look into redesigning the lists or selecting a better data source (relational database) to meet your needs.
      It would take time to generate your output because of so many columns. I have no solution for this.

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

      @@RezaDorrani sorry 500 records Raza not coloumns

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

      @@khasimshaik2606 500 rows may take 5-10 mins for sure. Im not aware of any faster process.

  • @subsguts2691
    @subsguts2691 Год назад +5

    Finally found this AMAZING video! I haven't found anyone else that address the creation of an Excel file from scratch as you have. THANK YOU! This is going to save me hours and hours!

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

      Glad it was helpful! Thanks for watching

  • @scottbrown9659
    @scottbrown9659 2 месяца назад +1

    I watched a few videos on this topic, but none were as clear and easy to follow as this one! I appreciate that you explained why you were doing each step as well. Thank you.

  • @tenisviejos
    @tenisviejos 2 года назад +2

    Thank you Reza, the A1 notation mapping resulted WAY easier than I expected 😁 as always, thanks for such a useful and insightful video.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Great to hear! Thank You for watching.

  • @MichaelGreeff
    @MichaelGreeff Месяц назад +1

    Great explanation. Was about to give up on Power Automate and your vid really helped.

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

    You are the Best, I love you. I have been struggling with Excel files locks and this Technic helped me a lot. No more locks with this approach.,

  • @normanstiegler1275
    @normanstiegler1275 9 месяцев назад +1

    Helpful as always, thank you for another great video!

  • @msdynamics365cecrmknowledg9
    @msdynamics365cecrmknowledg9 2 года назад +1

    Thanks Reza. You are wonderful person. Your explanation is really wonderful.

  • @365g
    @365g 2 года назад +1

    Great stuff Reza ⚡ - Thanks, this is a big help for a current use case. That dynamic hack is something something else - great find!

  • @mikemahoney9709
    @mikemahoney9709 2 года назад +1

    Hi Reza, another great video, very clear and to the point. Worked first time.

  • @golfnutt8
    @golfnutt8 2 года назад +1

    Awesome Video. Everything worked like a charm. Thank you!

  • @yvonnew2010
    @yvonnew2010 2 года назад +1

    Excellent Reza you rock! Thank you for sharing. I am going to try this out at the weekend. Happy Days!

  • @patrickpaxton4858
    @patrickpaxton4858 2 года назад +3

    Hi Reza, your videos are definetly amongst the best that I've come across, just a tip, you might want to consider zooming in just a slight bit when making the video. Even on full screen I cant see some of the json code,so I have to go out the video to look for external content on google and then come back to the tutorial. Thank for the tone of effort that you put into these videos!!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank you for the feedback.
      I will try and zoom in more specially when showcasing code.

  • @stavrosvogiatzis4016
    @stavrosvogiatzis4016 2 года назад +5

    Everything that Reza teaches us matters, collecting and structuring data is EXTREMELY important. I am in the middle of a Data Science program with MIT and the fist thing we do is to collect and clean data before any analysis. So pay extra attention what Reza says , it will make a hell of a difference later. Clean data is like drinking clean water. Thank you Reza!

    • @RezaDorrani
      @RezaDorrani  2 года назад +2

      Wow! Thanks for the amazing feedback.
      I completely agree with the statement "Collect and clean data before any analysis".

    • @johnfromireland7551
      @johnfromireland7551 2 года назад +3

      "Clean data is like drinking clean water." Couldn't have said it better myself!! lols!

  • @Johan-qy6yb
    @Johan-qy6yb 4 месяца назад +1

    New on power automate, but after 2 days of searching, this finally solved my issue - my man!

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

      Thats a lot of searching :)

    • @Johan-qy6yb
      @Johan-qy6yb 4 месяца назад

      majority of videos are not really my use case or things has changed in power automate compared to how they do it... but this worked :) @@RezaDorrani

  • @horamansarkhosh8615
    @horamansarkhosh8615 2 года назад +2

    Thank you Dear Reza... It's an actual world project like all your previous teaching. Awesome.
    #1 in Teaching Power Platform.... Awesome...💚

  • @pratiksoni6215
    @pratiksoni6215 6 месяцев назад +1

    Best Powerapps content on entire RUclips.. very easy and detailed explanations.. Thank you so much :)

  • @warrenpieterse6084
    @warrenpieterse6084 2 года назад +1

    This is awesome again Reza, thank you.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad you like it! Thanks for watching.

  •  9 месяцев назад +1

    Thank you! This is very helpful.

  • @rthoughts7232
    @rthoughts7232 2 года назад +1

    Very much informative and dynamic. 👍🏼

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

    This worked great! I'm using Planner and SharePoint in my solution and have had no issues.

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

    Hey Reza, fantastic video. Great work!

  • @prajwalskateel
    @prajwalskateel 2 года назад +1

    Very useful video, thank you 😊

  • @JV-zk5dt
    @JV-zk5dt Год назад +1

    Thanks Reza, this is really helpful . Thanks for this

  • @alzaimoor79
    @alzaimoor79 2 года назад +1

    useful video indeed, everyone request this video, explaining clear as water. much appreciate your effort, keep it up.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks a lot for the amazing feedback.

  • @neemamotagi2404
    @neemamotagi2404 2 года назад +1

    Awesome.. Reza.. Very much in need of this

  • @anilkumar-ml2sl
    @anilkumar-ml2sl Год назад +2

    I don't know how but I can always find a video on your channel related to the problem I'm facing 😃...that means your content is 'real world problem solving content' thanks for your efforts

  • @sankhlayashraj
    @sankhlayashraj 10 месяцев назад +1

    Thank you Reza for the lovely video... You are a true champ

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

      You are most welcome

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

      ​@@RezaDorrani I had one question or request - The file name that comes as output is a mix of #'s and alphabets... Is there a way we can have the some naming convention for the file.
      In My flow, the column I am filtering is Name of Managers and I would like the excel to have a specific naming convention. In case you are able to clarify, I will be highlly obliged, other wise, I thank you for such a fantastic video.

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

      @@sankhlayashraj You have full control over file name. Not sure whats the challenge with changing it?

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

    Really usefull, this is just what i needed. thank you for saving my life !! , love your videos

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

      Thanks so much for watching and liking the videos

  • @emailtosamit
    @emailtosamit 2 года назад +1

    Thanks Reza for Sharing your knowledge. Your tutorial is mini Microsoft help documentation :). I hope you will never restrict you tutorial videos access. :)

  • @beyondthewall23
    @beyondthewall23 2 года назад +1

    Thanks for this video. Exactly what I am looking for. Instead of OneDrive for Business to store files, I used Sharepoint Library. The steps are similar to using OneDrive for Business connector. Works great
    This video also answered my question regarding dynamic table range. Great video!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad to hear the video is useful. Thanks for watching Jay.

    • @argyrodriguez5458
      @argyrodriguez5458 2 года назад

      Hi Jay, I am looking for something si,ilar to what you did, using Sharepoint instead of OneDrive, would you care sharing your flow ( provided there is no security data involved)?

  • @shaiksamad1562
    @shaiksamad1562 2 года назад +1

    Hi Reza.. Playing with different components of O365 I have to learn from you.. You make the life easy..

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad to hear that! Thanks for watching.

  • @jamestten
    @jamestten 6 месяцев назад +1

    謝謝你的教學,讓我們受益無窮。

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

    Hello Reza
    Amazing video
    Thanks

  • @davidnavas9065
    @davidnavas9065 8 месяцев назад +1

    Excelente, me ayudó mucho, muchas gracias!, saludos desde Colombia :)

  • @user-dj5ss3ls8p
    @user-dj5ss3ls8p Год назад +1

    Thanks for your sharing

  • @gitaiganor4100
    @gitaiganor4100 2 года назад +1

    Excelent video as always, I am a "Reza addict".
    always waiting for your next video.
    Personally most of the very long live events, not including the expressions series, are totally a waist of time for me.
    Thank you

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank you for following and liking my channel.
      I am not a big fan of long running live events either.

  • @ravigandhi8575
    @ravigandhi8575 2 года назад +1

    Thanks Reza 👍🏻

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

    thank you sir bravo

  • @FranciscoCamacho_fjcamachoj
    @FranciscoCamacho_fjcamachoj 2 года назад +1

    Thanks Reza, great video!!! In the case that you need to fill a complex template such as an invoice, maybe you can reference invoice template cells with the table cells. Or you have a better workaround?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Not sure to be honest. It depends on where the data is coming from. Are you trying to extract data directly from an invoice document using AI Builder?
      Concept would be similar. Build the Select action and provide that to the pattern showcased in the flow.

  • @2007pradipta
    @2007pradipta 2 года назад +1

    you save my day..

  • @MarcosMonge-cz7fe
    @MarcosMonge-cz7fe Год назад +7

    Hey guys! In the "Create Table" connector I had a format issue. I solved it by changing the Table range from A1:E1 to Sheet!A1:E1. Hope it helps!

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

      Thanks for sharing

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

      Hi Many thanks for the amazing video. Just one issue I am facing, everything else has been created as expected but no data coming on the Excel table. Just

  • @sergioarguellomontes4019
    @sergioarguellomontes4019 2 года назад +1

    Thank you very much Reza for your videos. I wanted to tell you how to export fields from the sharepoint list that are vlookup, I have not been able to do it. Thank you so much.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thanks for watching and liking my videos.
      Lookup columns in SharePoint are complex type columns. You will need to extract the values from it and then export that to excel.
      I do not have a video on this scenario.
      I will recommend to check on the forums at powerusers.microsoft.com in case someone has done something similar

  • @waqasahmad2908
    @waqasahmad2908 2 года назад

    Thanks, Reza for his amazing video. May I suggest another video topic "Sync PowerBI report to SharePoint list "

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Where is the data in power bi report coming from?
      Not sure if I understand the use case to sync power bi data to SharePoint.

  • @nikkijoy226
    @nikkijoy226 10 месяцев назад +1

    Thank you very much and kudos to you for crediting John Liu 😊

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

      Credit where credit is due.

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

      Good morning Reza, my 'add a row into a table' action shows 58 records added (for input and output), but my Excel attachment only has 30 rows. Do you know how I can fix this?

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

      @@nikkijoy226 I have not come across the mentioned issue and hence not sure what the fix for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @nikkijoy226
      @nikkijoy226 10 месяцев назад +1

      @@RezaDorrani I found my error. I had the delay set in the wrong place, so I was essentially delaying the sending of the email instead of delaying the attachment to the email.
      I will blame it on not enough coffee in the morning 😁

  • @argyrodriguez5458
    @argyrodriguez5458 2 года назад +2

    Thanks, Reza. It was definitively a well-explained video over how to export to Excel. I have two questions: Is it possible to change the name of the exported Excel file to something (unique) more User-meaningful instead of the GUID? Do you have a similar video where the destination of the file is Sharepoint not OneDrive?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You could call the file anything you desire. I used guid to keep it unique.
      I do not have a SharePoint based video.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @gman71157
    @gman71157 2 года назад +1

    Great Video and thank you for taking the time to reply to your commenters. I am hoping to develop a flow that will enable me to add rows of data to an existing sheet. In the video you mentioned that you have to make a new sheet, is there a way to do export to an excel sheet that is preexisting? Thanks

    • @RezaDorrani
      @RezaDorrani  2 года назад

      If your excel already has a table created (within a sheet), you can just add data in there.

  • @powerappstw
    @powerappstw 2 года назад

    learn a lot from your video, thanks for your great video.
    one question, is there any way to split excel sheets to different files with power automate?
    thanks

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Possible. I do not have a video on that though.
      I will recommend you check on the forums at powerusers.microsoft.com

  • @sreeponn
    @sreeponn 11 месяцев назад +1

    wunderbar!

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

    This instructions are amazing. I found one tweak though. It’s not mandatory to provide the accurate range during create table step. Even if I create table with 2 columns only, the header names will be populated as a table only

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

      Good find

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

      @@RezaDorrani Thanks Mr Reza for this tutorial. Now I could export large power Bi dataset into an excel table. Could not find any easier way earlier.

  • @fletchergrimlock6885
    @fletchergrimlock6885 2 года назад +1

    Love this video Reza! I'm a Flow novice. During the select operation (to select columns), can this be dynamic as well?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thanks :)
      Select can be made dynamic but complexity would increase. Something that I have not tried before.

  • @sundrapillay6668
    @sundrapillay6668 2 года назад +1

    Thanks Reza

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You are most welcome

    • @sergioarguellomontes4019
      @sergioarguellomontes4019 2 года назад

      Thank you very much Reza for your videos. I wanted to tell you how to export fields from the sharepoint list that are vlookup, I have not been able to do it. Thank you so much.

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

    Hey Reza, great video. I would like to choose the item (row) that I want to export from SharPoint Lists, do you have a video about how to do that?

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

      I do not have a video on that scenario

  • @mariamelendez3854
    @mariamelendez3854 2 года назад +1

    Great explanation! Do you have a video that explains when it is connected to SQ server? I want to connect to SQL server(Execute a SQL query(V2)), create a table in excel and send an email.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a video with SQL.

  • @wardydoes
    @wardydoes 2 года назад +1

    Great video as always. I've followed this but using approvals in teams. How do I post the final excel file to my teams channel rather than sending via email?

    • @RezaDorrani
      @RezaDorrani  2 года назад +2

      Use the create file action to add the file to the SharePoint team site backed by the Microsoft Team.

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

    Wonderfully detailed! Is there a way, or do you have a video that instructs how to use date and choice inputs from the manual trigger to create a table? I wish to create an Excel table from instant Flow, being able to choose beginning date, ending date, and choice field selections. My attempts to incorporate this into the OData filter query fails. Any guidance is greatly appreciated. I may be trying to do the impossible 🤔

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

      Thanks!
      I do not have a specific video reference on this scenario and would have to try it out to provide guidance.

  • @murthychitturi2562
    @murthychitturi2562 2 года назад +1

    Great video as always!
    Q) while export to excel ,columns are getting sorted with alphabet order.is there any way to control the column order?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You can use the select action to pick the columns you need from the array.

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

    Awesome video. This has help me a lot. I was wondering if it was possible to use power query in excel with this method. For instance: when excel file is sent to an outlook email. Grab that file and use power query to clean data then create another file to email the cleaned data. Not sure if it’s possible. Thanks

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

      I’m not sure either. I would recommend checking on forums in case someone has tried it.
      powerusers.microsoft.com

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

      @@RezaDorrani I’ll check it out. Thanks

  • @Dany-ns6hg
    @Dany-ns6hg 2 года назад

    Really useful Reza, you confused me a lot in this video with the expressions which means I need to revisit it. Just checking, if you have video on uploading the data as well to the SP list.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Expressions are the heart of flow. Video description has link to download sample flow which includes all the expressions.

  • @raviandsiri
    @raviandsiri 10 месяцев назад +1

    Hi Reza, all your videos are very helpful. Is it possible to export data from multiple collections to different sheets in the same excel ? If so, how to achieve that?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @subaofficial8554
    @subaofficial8554 2 года назад +1

    👍👍👍👌

  • @climbyclimb6764
    @climbyclimb6764 2 года назад +1

    thanks a lot Reza !!! it works perfect :-) the only problem that I have is that instead of sending it per email I need to save the excel file into a Teams folder (and post the link there). I tried with "Post a message in a chat or channel" but I cannot attach the excel file like when sending by email. Would you have a solution for that ?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks for watching and liking the video.
      For saving in teams folder, I guess you would need to use SharePoint actions since Teams backend is SharePoint. I don’t think post a message supports attachments.
      I would recommend to post your query on the forums at powerusers.microsoft.com in case someone has done something similar.

  • @hariyoganathan2147
    @hariyoganathan2147 6 месяцев назад +1

    cest cool

  • @matejvolesini
    @matejvolesini 7 месяцев назад +1

    Perfect tutorial, thanks for it. Do you happen to know how I can also export Vlookup column values? When I try to match them in the select step, there is an error at the end of the flow (Add a row into a table) saying that 'A value must be provided for item.'
    Thanks

    • @RezaDorrani
      @RezaDorrani  7 месяцев назад +1

      Thanks!
      I am not sure about vlookup columns.

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

    Hello Reza,
    thank you for the helpful videos.
    I have a question regarding this video.
    is there a possibility to show also the size of folders and subfolders in excel?

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

      Not sure. I have not tried it. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Hi..Thank you for the video. It was really helpful. One question- Can we run the flow automatically at the end of the month?

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

      Simply change trigger of flow to schedule flow.

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

    Thanks Reza for the extremely useful video,
    I am trying to get the dropdown values of dataverse column,
    But getting the values of it, instead of text in excel file,
    Can you please suggest what action needs to be done to get dropdown text, instead of values?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @yusenlogistics-externaltra1978
    @yusenlogistics-externaltra1978 2 года назад +1

    Reza, love the video....great information.
    Wondering if there's a way to set the Filter Query (at the start) to a dynamic choice I'd provide in PowerApps (so the SharePoint List item returned would be based on the record I'd like selected)?
    So far, when I try to create an Output from PowerApps (Ask in PowerApps) PowerAutomate doesn't actually seek out that record from the Ask in PowerApps request

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      It should work if data is being passed correctly from apps to flows.
      I will have to look at your App & flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @yusenlogistics-externaltra1978
      @yusenlogistics-externaltra1978 2 года назад +1

      @@RezaDorrani Thanks so much Reza. I will be sure to do that
      Really appreciate all the great content and information. Your videos have helped me tremendously.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@yusenlogistics-externaltra1978 You are most welcome!

  • @aokcuoglu
    @aokcuoglu 2 года назад +1

    Hi Reza, thanks for video. I'd like to learn that how we export our attachments picture to Excel or PDF files?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks.
      I have not done any work with exporting attachments to excel.
      I will recommend checking on the forums at powerusers.microsoft.com/

  • @tylerkolota
    @tylerkolota 2 года назад

    Need to update and/or create many rows in Excel?
    Try Excel batch actions in Power Automate:
    ruclips.net/video/HiEU34Ix5gA/видео.html

  • @yojie120
    @yojie120 2 года назад +1

    Thank you for this very helpful tutorial. I am currently building a monthly report via Power Automate and one of the columns that i am trying to send to Excel is a multiple-line text column. The challenge I am having is that it doesn't send all the lines from this column, it only sends the top most line. Can advise how I can send the full data of this column into the Excel column? Hope you can help me. Thank you in advance for your response :)

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank you for watching the video.
      I will have to look at your flow in action to know more about your issue or provide any guidance. Looks like it has to do with the new line character or some other case. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @enricosita7253
    @enricosita7253 2 года назад +1

    Thanks for this video. Is it possible however to dynamically loop through the columns of a table? Imagine we have an Excel that always has a properly formatted table, but we don't know the name of its columns nor the amount beforehand, apart from one column name that we know will always be present (not that we really care). Is it possible to copy some of these rows (let's imagine the 10th row and first) to a new table?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I am not sure about looping through columns (might be possible via graph api) and would have to try it out to provide guidance. I would recommend posting your query with screenshots on the forums at powerusers.microsoft.com

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

    Great job this worked amazing but how do I remove the HTML style data from the emailed Excel spreadsheet for the Rich Text fields in my list? Thanks for any help you can provide.

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

      Rich text fields will include html info. I’m not sure how but there must be a way to strip the html or simply convert it to text only. I will recommend checking on forums in case someone has done something similar
      powerusers.microsoft.com

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

    Very informative and real-world schenario based video. Thank you Reza !! Quick question: While generating csv file, I can see columns are sorted in ascending order even provided in random order (expected). Can we retain column ordering in csv file? I saw in flow content action, input is already sorted in ascending order. Hence it seems the PowerApps Json function is causing issue (automatically sorting columns to ascending order ) . Thanks again.

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

      Thank You!
      Alphabetical sequence is an in-built behavior of the Create CSV table action.
      In advanced options for create csv table action, you can define custom columns and list out the header and values. Those will be ordered. Its more work.

    • @2007pradipta
      @2007pradipta Год назад

      @@RezaDorrani in create table how to define sorting order ? i.e. if we want to sort the Excel with particular column is there any option ?

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

      @@2007pradipta I don’t remember if it does have that option.

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

    Hi Reza, nice video thank you! I just have one question: is it possible to add more than one row at a time to an excel table? Because it takes too much time adding to the table many rows. Do you know if exists an alternative way?

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

      You would need to look into excel api's if it allows bulk additions. I have not attempted that.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Hi Raza, Thank you very much , i want to do this process for different different Excel files. can we make select operation dynamic or can we use any other operation to make it dynamic?

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

      You can write dynamic operations using expressions. I do not have a specific video for it though.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Great Video Reza, the only question I have is, this approach needs to have access to the one drive which has that template.xlsx available. If I am creating a generic flow for users leveraging their one drive storage, this file would be unavailable there and I would not be able to leverage this approach. Any thoughts? An alternate based on my research would be to use a script approach which I am not very keen on implementing either.

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

      Load the file in SharePoint and grant everyone read access to template file.

  • @jeffderouin2997
    @jeffderouin2997 2 года назад +1

    Thank you Reza for this excellent video. I am very new to this coding. I am getting an Error Details when I run this flow. The input to Create Table - Table Range expression: OUTPUTS('A1_Notation_Mapping')[sub(length(outputs('Array_Col_Names')),1)] and Column Names - first(split(body('Create_CSV_table'),decodeUriComponent('%0D%0A')))

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza, thanks for this video. It has been really helpful for me. Is there a reason why its only bringing only 100 records while my list has +500?

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

      ruclips.net/video/yeAnuTB85eg/видео.html video has the answer

  • @johnnytao7588
    @johnnytao7588 2 года назад +1

    Thanks Reza, I have followed your instruction and got it working beautifully. I have a question which I think many people are suffered.
    * I want to read records in an Excel file using Power Automate (List rows in present in a table). However, the source Excel file was generated from SQL using SSIS package so that the file is not configured with a table.
    When I use "Create Table", what should I specify for the Table Range ? Or a way to specify dynamically in Power Automate ?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You would have to define a range. Video shows how to specify a table range.

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

    Thank you for the video, i have one question. in the excel attached in the email i get one row all the time, even if there are more rows in de sharepoint list. How do i set the number of rows?

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

      I have not come across any issue where its only 1 row all the time. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @monterrosa64
    @monterrosa64 2 года назад +1

    Hi Reza, thanks for this clear and useful example, one question: I'm getting the history of versions from sharepoint list, and want to send to an excel file, I'm using the Send HTTP Request to SharePoint connector, I actually got the history of versions, but I can not parse fields with parse JSON to put the desired fields into a previously created Excel table, I've got "schema validation failed" error, how can I fi it? is there another way to do it?
    regards

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @lauryap
    @lauryap 2 года назад +1

    Hi Reza, Incredible explanation, thank you! :D. Would you do similar tutorial for similar case?. I get an excel file everyday, same format of data, just different name referring to the date. Example: Daily_Sales 15.12, Daily_Sales 16.12, Daily_Sales 17.12 and so on. These files are saved in a sharepoint folder. In the same folder I have a Master Data Excel file where I manually add the rows of new file of Daily_Sales comming. I would like to automate the update of my MasterData Excel file everytime we get this new Daily_Sales file, but don't know how 🤔

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I do not have a video on this scenario.
      I add video ideas to my backlog when I get multiple requests on a particular topic.
      This is the first one on this topic. If I get a lot more requests, I will add it to my backlog.
      Meanwhile, I will recommend checking the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @yiubili1
    @yiubili1 2 года назад

    Superb video, will you create a video on copying one excel to another excel another email please? that sound similar but i had been struggled on it for awhile...

    • @yiubili1
      @yiubili1 2 года назад

      Really liked your video with example and step by step explanation, if I wanted to copy the data from one excel to another excel, and apply condition, which video would you recommend please?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Will add the topic suggestion to my backlog but this is the first request on this topic. I will need a lot more requests on this topic to give this a higher priority.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Will add the topic suggestion to my backlog but this is the first request on this topic. I will need a lot more requests on this topic to give this a higher priority.

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

    Hi Reza, thank you for this video. It was just about perfect for my project I was working on. I do have a question for you (or anyone else who has solved this): When the data is brought into the newly created Excel file (based on the template I have), it formats the Excel table with the default formatting. This does not look good or even fit with the rest of the template I have created. Is there a way of either a) pre-formatting an Excel table and inserting my data into that table, or b) formatting the table as it gets created inside my file? Thank you!

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

      I am not sure if that is possible. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

      @@RezaDorrani Thank you Reza.

  • @saranyabalakrishnan4235
    @saranyabalakrishnan4235 2 года назад

    Hello Reza, Thank you so much for this tutorial. Can you please guide me how to rename the file GUID name?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You can replace the GUID() expression with any name of your choice. Key is to make file name unique, hence I used GUID.

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

    Hi Reza, really helpful video and I managed to replicate it successfully. In this example, I understand the really useful step in narrowing down the columns that are required to be downloaded. I was trying to amend to just include all columns in list to be downloaded but yet keeping the dynamic columns and table range you have proposed. Could not. What would be the solution to that?

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

      I will have to look at your flow in action to know the issues you are facing and provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @minhphuc7993
    @minhphuc7993 2 года назад +1

    Hi Reza, thank you very much for your video, it is great help to me. I am looking for a flow which help to download / update Planner data to Excel in realtime (for Power BI report purpose) to all the plans in my Team group. Do you have any video or guideline to set this up? I can do flow to the first download but when make it recurrent it keep duplicate same rows. And I am looking for how to download all the plans at the same time as well. Would be great if you can help on this matter please. Thank you very much.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have any videos with Planner and flow. I will recommend you check on the forums at powerusers.microsoft.com/

    • @minhphuc7993
      @minhphuc7993 2 года назад

      @@RezaDorrani My Organization needs a flow to get MS Planner data in realtime update (or close to real time) for a plan. Can I contact you to support create this flow as outsourcing job? please let me know how can contact you, thank you very much.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@minhphuc7993 About me tab on my RUclips channel has my email address.

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

    Thank you very much, learned a lot from your channel, I encountered a problem, if I have different fields, how to dynamically export different fields of SharePoint List

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

      Idea is to select fields from SharePoint for any column type but not dynamically select columns. How would flow know which cols to select dynamically?

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

      @@RezaDorrani Thank you very much for your reply. There is another SHAREPOINT LIST for the required fields. I plan to use removeproperty object to delete unnecessary fields, but I need to obtain the person list field

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

      @@MMYGOGO Its possible but not something I have tried. Give it a try and if facing issues, then post the issue with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani OK, thanks

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

      I used the API to list the fields of the SHAREPOINT LIST, and an error occurred while processing each field,show The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@body('LIST')' is of type 'Object'. The result must be a valid array.

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

    Hi Reza, great video as always. Question: my flow apply to each only loop for 100 times so i only get 100 items, is there a way to extend that loop and get all the item base on the query i made in get items?

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

      Are you adding a filter query to fetch data from list?
      You can set top count as 5000 and turn on pagination for list items action.

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

    Hi,
    Great Video.
    Is there a way without extracting data creating an empty template in the beginning of the video?

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

      Like creating an empty table?
      Video shows how to create a table. If you do not add rows, it will be an empty table.

  • @rubenpuertosmartinez
    @rubenpuertosmartinez 2 года назад +1

    Can you export based on an 'ID' from the list?
    Basically, I want to export from Lists to Excel based on a selectable ID (Ideally from Power Apps, but I'm ok with any option)
    Great video :) you are a star!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Check my latest video ruclips.net/video/UZdngrwWsqA/видео.html

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

      @@RezaDorrani thanks for this great video, I have used most of the features to export an item from a SharePoint list into an excel file, I'm using a template; this template has some sort of mapping to ne ingested by an accounting software, and everytime when I'm creating the excel file, the mapping breaks :(
      Maping = Formulas (menu) > Name Manager
      The mapping breaks because I'm creating tables, do you know if there's any solution for these issues ?

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

      @@rubenpuertosmartinez I have no clue about this as I have not experienced this issue. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com in case someone has done something similar

  • @anitac6465
    @anitac6465 2 года назад

    Thanks for the great video, I am trying to create a table from excel that should contain data of just one excel row per email but somehow up getting all the rows in the table, can you please suggest how to do this

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide any guidance. I will recommend you post your issue with screenshots on the forums at powerusers.microsoft.com

  • @mohammadriaz8635
    @mohammadriaz8635 21 день назад

    Excellent!, can you help me to create a schedule flow, as i did subscription from the PBI, and saving those file in the one drive my business folder, one is the complete detail and other having summary of the report, so now i need them to share with the team the report as attachment and the summary data need in the email body,

    • @RezaDorrani
      @RezaDorrani  21 день назад

      I do not have a video reference on this and would have to try it out to provide guidance. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @vineelkolluru1824
    @vineelkolluru1824 2 года назад +1

    Nice video Reza! I'm trying to create an Export to Excel feature within Canvas App that would only export the items in a gallery (even after the user filters that gallery; So, columns and rows they want to export to excel will change every time they filter the gallery). How do I approach this? Every tutorial I find wants me to decide the columns before-hand but I want to be able to let the user decide what data to be exported.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Columns do not change when user filters a gallery. Only the row changes.
      There is no selector option for columns in power apps and that’s why there are no tutorials on it.
      I have a video coming out tomorrow that will showcase how to export large data. In there I also talk about exporting columns dynamically using list views. However here as well there would need to be some predefined views which have columns set for exporting. But at least it would give some level of flexibility.

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

    Hello Reza, really nice tutorial. just one more thing, is there possibility to download Web data in excel using online version of Power Automate. Thanks, Jai

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

      Possible using Power Automate Desktop

  • @LAXMIKANT1992
    @LAXMIKANT1992 2 года назад +1

    Wonderful. Just one thing how to send the email by sender name as SharePoint site name not by wf owner?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      You can send an email from a shared mailbox. There is an action for that in flow.

  • @gabyc4838
    @gabyc4838 2 года назад +1

    Hi Reza. Thanks for the video. Do you know a way to convert xls files to xlsx in power automate without using premium license?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I am not aware of one. I will recommend checking on the forums at powerusers.microsoft.com/

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

    Hi Sir, Thanks for the video.
    could you please suggest the solution for the Auto width for the column generated in this excel. Searched even in the comments and in the forum.

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

      I am not sure if it is an option and not something I have attempted.
      Forums will be your best bet (You can also ask a question on forums and see if others have done something similar).

  • @darrenpopsie3415
    @darrenpopsie3415 2 года назад

    Great video, I have an exact use case for this.. I am running into an issue though as my people column is actually multi select. I tried using a variable but I just get all the records display name in every row of the table instead of each row having their unique records.. Any thoughts on how to use this flow when a field is a multi select people field?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You will need to use an apply to each loop in flow on your multi select column and then for each item in loop you can start adding a row in excel.
      I do not have a video reference on this exact scenario though.
      I will recommend checking on forums at powerusers.microsoft.com in case some has done something similar

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

      @@RezaDorrani can you please make a video out of it? It's really hard and I can't figure out how to do it :/ When I move Select operation inside the loop the add row into a table can't refer to Select anymore. If I move add row into a table into the loop I will have loop in loop and it just not work

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

      ​@@pgadacz I have many other video ideas I am working on. I make videos when I get multiple requests on a particular topic.
      Every quarter I ask subscribers for topic suggestions on the Community Tab of my RUclips channel.
      Subscribers vote for topics and the highest voted topics get added to my backlog.
      Your best bet will be to post your issue with screenshots on the forums at powerusers.microsoft.com/