Power Apps Export Large Data to Email, CSV or PDF File | SharePoint

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • In this video, you will learn how to Export Large data sets from Power Apps using Power Automate flow. We will leverage SharePoint as a data source. The work of performing the OData query from SharePoint List to fetch the data will be performed by flow. The data query will be passed dynamically from Power Apps as a query parameter to flow. Flow will get the Tabular data, generate HTML, send data in Email, Export data to CSV & export data to PDF. User will leverage the Power App to request dynamic export of data to Email, CSV or PDF.
    We will cover generating the HTML, passing parameters from PowerApps to flow, generating the HTML file & converting it to PDF using the standard OneDrive connector & then sending it out as an email attachment.
    Power Apps delegation challenges are averted with this technique since the entire workload of performing the query is pushed to flow.
    Video covers the following:
    ✅ Export Data from Power Apps Introduction
    ✅ Challenges with exporting large data sets (performance)
    ✅ Pass Query dynamically from Power Apps to Power Automate
    ✅ OData Filter Get Items SharePoint
    ✅ HTML Table
    ✅ Send Email
    ✅ Export PowerApps data to CSV File
    ✅ Export PowerApps data to PDF File
    ✅ Pass multiple parameters from Power App to flow
    ✅ Export Data from Power Apps Demo
    Helpful Links 🔗:
    Power Automate OData Filter Query flow for SharePoint list
    • Power Automate OData F...
    HTML Table Style
    ryanmaclean365.com/2020/01/29...
    Power Apps Delegation
    docs.microsoft.com/en-us/powe...
    #PowerApps #ExportData #PDF #Email #SharePoint #OneDrive #Email
    Table of Contents:
    00:00 - Introduction
    00:42 - Export data from Power Apps
    02:16 - Power Apps Large data export challenges
    03:24 - Perform OData Query in flow
    04:05 - Export data from Power Apps in Email
    06:32 - Call flow from Power Apps & pass parameters
    09:49 - Send data as HTML Table in Email
    15:14 - Show count of exported data from PowerApps
    16:01 - Pass multiple filter conditions from Power Apps to Power Automate
    18:18 - Export Power Apps data to CSV File
    19:34 - Export Power Apps data to PDF File
    21:37 - Subscribe to Reza Dorrani channel
    🤝 Let’s connect on social:
    🔗 Reza Dorrani LinkedIn: / rezadorrani
    🐦 Reza Dorrani Twitter: / rezadorrani

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

  • @oluwatobiyusuf
    @oluwatobiyusuf Год назад +17

    Finally, a solution to exporting large data. Thank you Reza

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

      You’re most welcome

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

      @ameed I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani top count set to 4999 fixes my issue and allows for more than 5000 items. I award myself 3 Reza points :0)

  • @NKBobcat
    @NKBobcat 11 месяцев назад +8

    Reza, Power Apps, Power Automate and SharePoint are my career choice and passion. Because of work related diversions such as meetings, reports, administration and support, I don't have the time to experiment and learn expert level development on my own. You and Shane have filled that requirement over the years to help make me successful. I owe you both a lifetime of gratitude. Thank you!

  • @anstolze3280
    @anstolze3280 9 месяцев назад +2

    Reza, thank you for all your input. For me as a non developer all your input puts me in a position to create complex applications in a really short time! Thanks for all your short and concise lesson to this world!

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

      You’re most welcome

  • @MohammadAli-ts2ev
    @MohammadAli-ts2ev Год назад +1

    गागर में सागर जैसा है आपका ये शार्ट वीडियो
    Thank you for being here and helping me in the journey of Power apps and Power automate learning.

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

      शुक्रिया
      Your most welcome.

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

    Thanks Reza, the interaction between Power Apps and Automate is so much better now as you demonstrated.

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

      Glad to hear that. Thanks for watching.

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

    Thanks for the clear explanation. This will be useful for a milage tracking application I've built which is to include a feature of sending a manager a report of the trips taken that are still marked as "Pending" in the SharePoint list. I think I'll include a step that marks the status from Pending to Submitted once the report is sent. As usual, Reza, you have been a wealth of information.

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

    Hi, Reza. Priceless knowledgment. Thanks for sharing !!!

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

    Terrific explanation as always. Thanks Reza for covering this scenario.

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

    Thank you! For all your helpful content!

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

    Thank you so much yet again Reza!
    I have had a similar requirement before.
    The way I did this was I exported the list using the Export List View feature of SharePoint. Then I uploaded the downloaded IQY file into a SharePoint library. Then in powerapps, I allowed the user to download the iqy file directly from the power app.
    Caveats are that the iqy file cannot be used on Mac devices. Also, the custom filter from within powerapps can only be done by creating multiple views in the SharePoint list.

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

      That is also an option. But here it is fully dynamic as the user can pick the filters on the fly.

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

      @@RezaDorrani yes. I love your method for that reason.
      I have done this before by sending the JSON to power automate and parsing it but it was slow and hard to maintain. Your method alleviates those issues.

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

    Awesome! Excellent walk through.

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

    Hello Reza, as always, an awesome video. Every video hold so much knowledge and information; nothing but awesomeness! 👍

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

    Great explanation. Thank you!!

  • @joanasousa6233
    @joanasousa6233 21 день назад +1

    This is perfection, thank you Reza

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

    Another Great Video. Thanks for sharing and I know I'll come back to it again soon.

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

    Awesome,thank you so much.
    You are Genuis.

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

    Another awesome video, thanks a lot!

  • @365g
    @365g Год назад

    Great video Reza - Thanks for Sharing 🙏
    I have a couple of flows that could definitely be cleaned up a bit using this pattern:)

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

    Another good one.. Thank you

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

    As per usual, excellent information!! Do you have a video showing how to do this, albeit with small data sets, but group on a lookup field? I seem to recall you having done something like that in past.

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

      ruclips.net/video/tQCBWMR7T64/видео.html

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

    Hi, Reza. Great and helpful video, as always!
    For the PDF part, I noticed that the page breaks weren't properly formatted (or probably I'm not used to seeing it). I would like to ask if you have any suggestions/workaround on One Drive converter to PDF having page breaks (and page numbers if possible).

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

      There is no workaround for that page break issue. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Hi Reza
    A small suggestion, it'll be super helpful if the video content also have a blog post (or screenshots of processes ) for a quick reference.
    Thanksss a ton!💗💯

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

      Time is limited. Mostly, my videos have links to download the sample apps and flows.

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

      Sure, Reza :)

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

    Love this one Reza...it helps me a lot right now on my project! Only ting I miss is how to get items from multi filter if I dont choose anything from dropdown filter (e.g. I want all items to be returned in Flow)? I'll try to get answer in your another video "OData Filter Query"! Keep up with great job! ♥

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

    Amazing, very good Reza Dorrani

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

    Thank you very much!

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

    Thank you really much Ezra for sharing this amazing video. Just a question: how to export data if the gallery filtering is carried out by using two different TextInput boxes?

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

      Whatever filtering logic you have, you would need to recreate in flow. Goal will be to pass the data (multiple params if needed) to flow and then frame your odata query.

  • @user-dj5ss3ls8p
    @user-dj5ss3ls8p 8 месяцев назад +1

    Thanks so much, hope you all the best wish!

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

      Thank you!

    • @user-dj5ss3ls8p
      @user-dj5ss3ls8p 8 месяцев назад

      @@RezaDorrani anyway I am trying this but it doesn't work😅
      Export_task.Run(
      "startswith(Supplier_code,
      '" & ib supplier code. Text & '*)
      and startswith(request_status,
      '" & dd status. Selected. Value & "*)
      and Due _date ge '2023-09-11'"
      )
      User () . Email
      It worked when I did not add date criteria to filter it.
      I try to filter by date picker and fail so I try to copy query that works on PowerAutomate to PowerApp but still failed.

    • @user-dj5ss3ls8p
      @user-dj5ss3ls8p 8 месяцев назад +1

      @@RezaDorrani I can solve this finally. Thanks again!

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

    You are wonderful Reza

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

    Hello Reza, this is gold! thank you for sharing, how would you write a formula if the dropdown is a multi-select combobox?

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

      I would have to try it out to know the formula. I have done video on combo box. Check that one.

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

    Great Video, I have been looking for Export solution from past few days, looks like you heard it Reza.. :)

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

      Glad to hear that. I did receive a lot of requests on this one.

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

    Great video again...👍 but I have a question can we export more than one excel csv file?

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

      Pass multiple queries and create multiple csv files.

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

    Thanks Reza!
    This works like a charm.
    However I have one minor issue, when I'm downloading the CSV File and opening it into Excel, there are quite a few special characters like "’" in some of the cells, along with the information I need.

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

      Not sure about those. Might be some special character related issues. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Thanks Reza. Your video always help me. Is it possible to get the attachments in each list item and add into CSV to export ?

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

      Possible but I do not have a video reference on it.

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

    Hi Reza. Thank you for that video. It is always clear and helpful.
    May I ask you a question related to the query...
    I have a data table (data from a SharePoint list) with multiple dropdwns and search box used to filter.
    It is a large query with switch + search + filters (7 dropdowns with IsBlank condistions,...)! Is it possible to copy/paste the query as is and use it in the Run function for the export ? Is there any other actions to perform to pass the query into Power Automate. Thank you for your help.

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

      Idea would be to pass query as is to flow. Remember flow query patter is odata. I have showcased it in video.

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

      @adelinebondjali8116 can you please share your query, have similar requirement

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

    Hi. Great explanation as always. Is it possible to combine several galleries or some other way include a totals box at the bottom? For example, I have several filtered sum columns which I’d like to include at the very bottom of the main data? Many thanks.

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

      Possible.
      But I do not have any reference videos on this topic. You would definitely run into delegation warnings.
      Check on forums in case someone has done something similar powerusers.microsoft.com

  • @kevinkagotafa9740
    @kevinkagotafa9740 5 месяцев назад +1

    Thank you Reza, can you assist when using the datepicker filter as query?

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

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

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

    Thank you, Reza! Great video! In my case, the content of the csv file is in a single column, different from your video... Could you tell me why?

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

      Thanks.
      My guess is because something was done right. I will have to look at your flow in action to know the reason for your issue. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Thank you again Reza

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

    Brilliant 💥💪👍

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

    Thank you my mentor Raz,
    At 18:00 how to code for and Status =dropdownlist.selected.value or Status = dropdownlist.selected.value = blank()
    I have to dropdown list and the 2nd drop-down is dynamic.

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

      I have done videos on odata filter queries. Check those to see how to frame multiple queries. Alternatively, you can also try posting your query on forums powerusers.microsoft.com

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

      @@RezaDorrani Thank you Rez again. I found a work around by using if function.

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

    Hi Reza, this is a really comprehensive tutorial. Thank you so much.
    I would like to ask what would be the formula to get all items if I did not input anything on the dropdown filter? Thank you in advance.

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

      There would be no filter condition in that case in the flow. Pass some param that says all data needed, use it in flow and do not apply any filter condition.

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

      @@RezaDorrani Thanks a lot. But I'm with the same question. If I put some filter in Title but in the drpProgress i don't put anything, it will not return anything as I don't have blank in Progress column. How can I make the sharepoint just look to Title in this cases? You have a video that shows how to filter dropboxes with blank Or(IsBlank(DrpStatus.Selected.Value);Status=DrpStatus.Selected.Value) but doesn't works for sending to Power Automate. Can you help? Thanks in advance.

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

      @@GoncaloMig I would have to recreate your use to case to provide guidance. I would recommend posting your query on forums at powerusers.microsoft.com/

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

    Very clean solution ... what about exporting to XML instead of CSV/PDF?

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

      I don’t think there is a direct action for xml. You would need to write expressions and other logic in flow to create the xml file.
      I have never tried this though. I will recommend checking on forums at powerusers.microsoft.com in case someone has done something similar

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

    This is a really good guide. Only issue that I have is that you should be more careful when creating files on user's One Drive without their consent. I understand you have to create the file in order to convert it to PDF since there is no free built in way to convert HTML to pdf, but creating files and filling user's One Drives with unnecessary files is not the solution.

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

      User has to consent to Onedrive action as flow is called from power apps. User has to consent to every connection being used.

  • @abcff8776
    @abcff8776 5 месяцев назад +1

    Thanks!

  • @wassimreports3aab638
    @wassimreports3aab638 3 месяца назад +1

    Many thanks Reza very helpful.
    I would like to have the pdf file in landscape form, is it possible with power automate?

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

      You would need to use premium connectors to do that

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

    Hi Reza, your tutorials have been a lifesaver and job keeper for me. We appreciate them very much. I have followed all steps but i still dont get the email. Please assist.

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

      Great to hear!
      I have not come across any issue with emails not receiving and hence not sure what the cause for your issue could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

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

    Thanks, this worked great but one question: One of the fields I am exporting is rich text and I want to remove the html tags when exported to the csv. I have tried multiple methods but to no avail. Do you have any ideas on this one? Any help is greatly appreciated.

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

      Idea would be to look into flow expressions. May be an expression to change html to plain text. I have not tried this so not sure.

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

    hi Reza, thanks for the video, really its awesome. btw, can we export the sharepoint data without any filters, i mean i wanted to export the entire available data from sharepoint to excel.

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

      Yes, dont pass any filter logic

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

      @@RezaDorrani thanks reza, i have the gallery in my app which is filtered either by Title (or) Client Name (or) Status using 1 textinput box. can we export the filtered data alone to excel? in that case what query we need to use in ExportData.Run(). Currently i use the below formula but flow not running properly it gives error.
      ExportData.Run("startswith(Title,'"&TextInput1.Text&"') or startswith(Name of Client,'"&TextInput1.Text&"') or startswith(EM Status,'"&TextInput1.Text&"')",User().Email);
      Below is the error message in Flow:
      The expression "startswith(Title,'UPS') or startswith(Name of Client,'UPS') or startswith(EM Status,'UPS')" is not valid. Creating query failed.

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

      @@CoolTamilan07 Export Power Apps data to Excel in CSV format
      ruclips.net/video/tQCBWMR7T64/видео.html

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

    Reza, This is great. I had one question. How would one use something other than "startswith" for the export criteria? I currently have a search that uses the "in" function and I'd like to still be able to filter based on that. Is this possible?

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

      Check my video on odata query

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

      I think I understand the power automate Odata query, I meant more about the items in your coding for your export button.

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

      @@nickvargas9597 The video shows sending odata query from apps to flow.

  • @kanishkawimalasuriya6636
    @kanishkawimalasuriya6636 3 месяца назад +1

    Reza, thanks for the explanation 😊
    I do have one question, when I get the CSV file from the mail and when it is opened, all the data is in one column separated by commas. How can this is be avoided and ensure the headers are in separate columns.

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

      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Thanks a lot for all the great videos Reza. Do you have the Github package for this solution ? Thanks again.

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

    Thanks for this Reza, I followed your guidance for launching the flow with two queries in my case two choice values, when I try three, I just cannot get it to work. I just added the third the same way I added the second in the video. A bit stumped at the moment.

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

      Depends on how that query is framed. I’ll recommend posting your query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani Thanks for the reply, I figured out why it was not working although still a bit odd. I had to use the display name (internal name) which was this 'Sub_x002d_Category_Choice' instead of 'SubCategory_Choice'. Strange one of the other columns I used was this 'Category_Choice' which is also the Display name. I think I might of changed the column from 'Sub-Category_Choice' to 'SubCategory_Choice' which might have caused this. The code now looks like this:
      LifeAfterCollegeExport.Run("startswith(County_Choice, '"& cboMFilterCounty.Selected.Value &"') and Category_Choice eq '"& cboMFilterCategory.Selected.Value &"' and Sub_x002d_Category_Choice eq '"& cboMFilterSubCategory.Selected.Value &"'",User().Email);
      Notify("Export process started. You will receive an email once completed.", NotificationType.Success,3000)

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

    Hi Reza, thank you for this incredible solution. How do you handle Filters on blank searches? If I do not use search and use a dropdown I return 0 from Sharepoint list. Thank you!

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

      I have not handled that in the video. Idea would be to add blank checks in power apps and accordingly framing the query to pass to flow.

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

    hi reza, thanks for the vid. i created the flow, like you, except the style. but i am facing the same problem with an other flow i created like you from an other vid. in my excel there is just one column. all the data are in column A and not separeted in 10 columns ( a column for each field). any recomendations?

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

      I have not come across the mentioned issue in either of the videos showcased and hence not sure what the reason for your specific issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    quick question - the email is not coming through... wondering if MailTo variable that we setup the top of Power Automate flow needs to be defined at the top, I know when we execute this method we reference the user email. "Export.Run("startswith('***********', '"& lnlTitleSearch_1.Text &"') and ********* eq '"& cboLevel_3.Selected.Value &"'", User().Email);" just wondering what could cause emails to not initiate. thank you, hope you're able to respond!

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

      I have not come across this issue hence not sure what could be the reason for your issue.
      I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani I checked power automate log, the process appears to be failing at the point of getting data, doesn't like the Sharepoint site address available in the dropdown as the main option. thanks again! good videos.

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

      @@arjumandansari2873 Best to post the issue on the forums as I would need to reproduce your issue to know more.

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

    Hi Reza, great video tutoria!
    One question, how can add borders to html table in pdf file? I see in your email attachment you have borders in pdf file.

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

      You would need to add the styling inline.
      Some css styling gets stripped in pdf.

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

      @@RezaDorrani do you know any guide to link me?

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

      @@roby9390 I do not have a guide link. I would recommend posting your query on forums at powerusers.microsoft.com

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

    Hello Reza, thank you very much for this video. Please, can you tell me how you already have csv converted into columns? All the best, Mario

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

      Most welcome. Simply follow the video steps and it should do that automatically. No pre setup required.

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

    Nicely explained! how about filtering gallery and exporting the same with ToDate and FromDate with current user

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

      Idea is to filter in flow using odata query to ensure maximum performance and data at scale. I have done video on odata queries as well which covers a lot of scenarios.

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

    Hello Reza, Nice video
    I was wondering can this been done to generate a csv file instead without using flow and send it with SMTP.SendEmailV3 with this attachment?

  • @infoktkcreative
    @infoktkcreative 12 дней назад +1

    Very nice

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

    HI Reza, Great video!!
    quick question...what if, one of the two filters conditions is blank, lets say the dropdown value is null, my get items in flow will return 0 records from the SPList. how to handle this?

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

      You would need to check for blanks and accordingly manipulate the query being sent to flow.

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

    Hello Reza, clear instructions thank you . When I enter the formula in the Button it doesn't recognise Startswith . Can you please clarify?

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

      StartsWith is an inbuilt function in Power Apps. Not sure why it would not work for you. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Hi, Nice video and great explanation. But i have one question when i am getting more than 5000 records using pagination method in power automate i get error

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

    Thanks for this.
    Can we use for data verse?

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

    Hi Reza
    Hope you are well. Thank you for the great content.
    Do you have work around in power automate for a SharePoint list that is larger than 5000 records. I am looking for a work around well I am trying to convince my boss to move to dataverse.
    Thank you

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

      This video can query large lists as long as the result returned after query is less than 5k records. You can also get more records by turning on pagination for the get items action.

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

    Awesome video Thanks Reza i would like to get all styling from my powerapp while export like an extension to print functionality to export all data to pdf is that possible?

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

      I think u can embed styling to your HTML so that i looks impressive like your powerapp

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

      Not directly as print functionality. You will have to build your own HTML.

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

      👍

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

    You are Awesome👍👃. Can this handle empty, blank and null. As I am using the People Picker ,Datetime and the combo box

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

      Have not tested with blank but should work.

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

      @@RezaDorrani Thank you your reply. If I am not selecting the dropdown or date or any field. I don't want the query to be created for that field is it possible

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

      @@pune2hyd For the query scenario, you would need to write logic in the part where we are passing the query param.
      You will need to add blank check in there.

  • @RyanSmith-mh1lj
    @RyanSmith-mh1lj 2 месяца назад +1

    Hi Reza, thank you for the video, one question, how would you center HTML table in the email body? Now, table align to left, what if I like table in center of email? Thanks

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

      You would need to add style info to it. I believe only inline styles are supported and very specific ones. You will have to check.

    • @RyanSmith-mh1lj
      @RyanSmith-mh1lj 2 месяца назад +1

      @@RezaDorrani , thank you for your kind info, I will take a look at it now, appreciate it.

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

    Thanks for the video Reza .How can we pass the multi selected combobox selected items in the query for SQL get items ?

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

      No idea about sql as I have not done any videos on it. I will recommend checking on forums in case someone has done something similar
      powerusers.microsoft.com

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

    Thank Reza, this video can helpfully, I just want to clear my data from gallery is not appear in email but the header can appear in csv and HTML table style? please give me advice

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

      I will have to look at your App in action to provide guidance or reproduce your scenario to know more. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    In this video user can search for Title column in txtsearch input control l. What if we need two additional column like Role and First name. So by adding these column in the Exporttask.Run(..Title,Role,FirstName) Will this work? or Do I need another approach.

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

      Key is to frame the query in flow. You can pass values from power apps as you mentioned.

  • @JenMayB
    @JenMayB 9 месяцев назад

    Hi reza - i’m not familiar with the language behind the Run function so i don’t know how i would write “or”s or how to include all values if dpndown is blank, etc. and i have my search field as blank, so i’d like the whole gallery?

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

      Thats odata query in flow. Check documentation on odata query syntax. I have also done a video specific to odata filter query.

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

      @@RezaDorrani thank you the quick response reza!

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

    quick question Reza - if I want to add a text field to the page filters (a combo box) but add to the Query dynamically (field is defined as a single line text in SharePoint) how would I write the variable? field_name eq '"& variablename.Text &"' or would it be variablename.SelectedItems.Result or Selected.Value? I have tried various iterations, but power apps seems to be indicating it's an error in the script. Thank you for your video - it's been helpful. AA

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

      Should be combobox.selected.Value or whichever property you want to use.
      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi, how do you send the combobox filter data to flow? because the combobox could contain multiple values for filter condition.

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

      All you would need to do is design your odata query. You can do it by using forall function. I would have to try it out to give exact steps.
      I will recommend give it a shot and in case of issues, post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Does Power Automate allow you to format the CSV file such as changing the font for the header and changing the data type in the columns?

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

    Hi Reza, Thank you so much, I wanted to ask you one thing is there a way when clicked export to export with out typing the text input at moment it will export blank if you leave blank search text input blank

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

      For that you will need to update the query param being passed. You can check if the text box is blank and accordingly pass query param.

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

      @@RezaDorrani Give me a direction please which query param to use thanks

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

      @@basehumax My comment earlier was the best direction I can give here on chat. If you need the exact code then I would have to try out your scenario to provide it. I will recommend posting your query on the forums at powerusers.microsoft.com

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

      Thank you so much Reza for wonderful video. Hey, @basehumax I am also finding the solution for same please let me know if you find any solution please

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

    thank you

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

    My first time comment to your video. This really helpful. But, how do I pass date to the query. Seem like only text is allowed to be pass in the query.

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

      Check my videos on odata filter query.
      You can always pass date as text and use it in queries.

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

      @@RezaDorrani I am happy and thanx for the reply. I watch the videos and identify my error which to be replace >= and

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

    Hi Reza, I have noticed the attached pdf in the email doesn't have the style only the body email body have? Thanks

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

      There are some limitations with respect to styling. Not all styles are supported in pdf.

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

    HI, Reza Wonderful video... I want to export multiple records as well as if they have attachments. I want to include that under each record..
    is there any way to do that in flow.. I am confused and new to Flow as well..

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

      I believe Yes but I do not have a video reference on that scenario.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Hi Reza, Thank you for video. I have one query... If I am reading the data from excel where I have 40,000 rows. Will i be able to read all 40, 000 rows in power automate without using any delegation. And then do some data manipulation and create a new excel and send a mail to respective users(user email is one of the field in the excel)???

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

      I believe Yes.
      Check ruclips.net/video/uEZI_b1Gs-k/видео.html

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

    I try to used gallery design like that gallery what kinds of gallery control you used ??

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

      Video on gallery designs ruclips.net/video/bnC8u3gdWss/видео.html

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

    Hi Reza
    Another good one, thanks very much.
    QQ: can you add that HTML table into Excel Table in ".xlsx" like you're doing with CSV?

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

      You can but it is a lot more work. You will need to first create a table in excel, the. Loop through all data and add rows to it.

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

      @@RezaDorrani Yes I learned that from one of your amazing videos.
      Was hoping for a quicker solution like adding HTML table to Excel Table...

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

      @@SHAli1474 There is no quicker solution at the moment.

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

      I prefer rest api connector to do it, launch graph excel add row to a template excel in sharepoint.

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

    Thank you so much, Reza, but till now, I am just wondering, why Microsoft had made it hard to have reporting tool for power apps like RDLC in C#!

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

      That’s a question for Microsoft :)

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

      @@RezaDorrani yes indeed 😀

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

    Hi Reza, Thank you for the informative video. I have a query and that is how this export will work if the gallery items are coming from multiple lists and we want to export the gallery items without delegation limit. Please assist.

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

      In that case, you would need to pass 2 queries to flow. Perform both those queries and merge the result array in flow.

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

    Hi Reza, how do you export it if the column is a multi select choice column? Just selecting the column in the Create HTML Table is giving weird results. Thank you

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

      Multi select columns will require extra work in flow using expressions to get output in desired format.

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

    thank you! i was able to link the flow with more than 3 filters, but i was wondering how to do it when there is a date picker as a filter

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

      ruclips.net/video/I8FdUmECAn8/видео.htmlsi=R_aOF1a1kB7sSx25

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

      Omg, I'm so glad to follow you up, really appreciate your support and videos

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

      Just a wondering, I'm not sure if it's doable, so are we able to do similar filter /flow to be able to download the attachment of the filtered items

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

      @@souheltahhan9585 Probably possible but not something I have tried

  • @ThreeWhiteSoldiers-jr2sy
    @ThreeWhiteSoldiers-jr2sy 12 дней назад

    Hi @Reza, is this possible for SQL as backend , please guide thanks?

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

    Hi Reza! I have a question for you but is not about the video. Recently my boss offered to cover the cost of a Microsoft Security certification course, but I don't know what companies to trust with this. Do you have any suggestions? Thanks!

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

      Sorry but I have no clue about this.

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

    Hello Reza,
    Thank you very much for another excellently done video. As always great explained and step by step approached the solution.
    I would like to email the contents of a form as a PDF and CSV attachment instead of a gallery (HTML output is not necessary). Do you have a solution for this as well?

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

      Most welcome.
      A form relates to a single item. Typically an export in csv for 1 item is not an ask.
      I do not have a video reference for this scenario. Try checking on forums in case someone has done something similar
      powerusers.microsoft.com

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

      @@RezaDorrani Thanks a lot for your quick response. I am using a galery to filter the form. The form itself is relating to a sharepoint list and includes a lot of fields / informations, so it would be nice to have this as a E-Mail attached CSV file. If you have any solutions due to this export funtionality it would be great. Have a great day ;-)

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

      @@uwecichowicz5444 I would have to try it out to know the solution. Forums would be a good option for you to post or check if anyone has done something similar

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

      @@RezaDorrani Great, thank you so much. I am sure you will find a solution ;-)

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

      @@uwecichowicz5444 There is none that I am aware about :)

  • @user-sg4ug5bo5y
    @user-sg4ug5bo5y 9 месяцев назад +1

    Hi Reza. This tutorial seems pretty straight forward. I followed it to a T. However, I cannot get the flow to run successfully. It keeps getting stuck on the Get Items. The expression "startswith(Title,'test')" is not valid. Creating query failed. PowerApp button code is ExcelExport.Run("startswith(Title,' "&Searchbox.Text&" ')",User.().Email).
    Suggestions?

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

      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    always exceed the expectation

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

      So happy to hear that! Thank You

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

    Hi Reza,
    Thanks for the video
    However i was wondering how we are going to achieve this with a combobox(multiselect). How can we write the query for multiselect values?
    Should we write for the each value one by one? For ex: by using Last and FirstN function?
    But if we have a large number of dropdown values, ex: countries and it is multiselect. Then how should we achieve the filtered excel report?
    Thanks again in advance.

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

      I dont think I have a video reference for this scenario. Check documentation on odata query to know how that can be done.
      I would also recommend checking or posting your query on forums in case someone has done something similar
      powerusers.microsoft.com

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

      @@RezaDorrani i have figured out an approach. Odata query has been so big because i was using multiple comboboxes. Instead, i just created a custom collection, created a ForAll in it, and added the current record one by one based on the filtered values. Then i passed the collection to powerautomate, created the schema for it, picked the values and extracted into the excel.

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

    having an issue combining the 2 fields onto the Export code. I have a long field name. Could you post the code for the export and explain the characters that compose the second field?

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

      The video explains the code step by step. Combining 2 fields is not covered in the video.
      I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Another wonderful video Reza thank you for this. I created the flow as described. I have a start date picker 'dpstart' and a end date picker 'dpend' in a filter container, both buttons OnChange is set to 'Select(btnLoadData)' and thus when the user selects a date range the btnLoadData button fires and its OnSelect property is set to ClearCollect(colGridData,
    Filter(TimeLog,Date>=dp start.SelectedDate && Date= dp start.SelectedDate && Date

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

      Most welcome!
      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza, thank you. Is it possible to show images in the files?

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

    Hi Raza,
    Is there any wat to fetch attachment from SQL table to Power App?
    If you know the idea kindly create one video on this.

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

      I have done no work with sql.
      Check on forums if someone has done something similar
      powerusers.microsoft.com

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

    Thanks Reza

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

    Hi Raza, kindly need help how to attach the response of the outlook form automatically to the responder once he submit form, and to be send to his email as pdf with response.

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

      Which form? This video is not about outlook scenario. I recommend posting your query on forums at powerusers.microsoft.com

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

    How could I do if I want to export Specifically selected items from the gallery and not a group filtered by any parameter? I'm thinking of passing the ID of the selected items as an array but then How can I filter in the get items to get only the items with ID inside that array?
    Kinda solve it already but it's such a pain to deal with multiple choice columns. Is there a simple way of making them appear "normal" in the table?

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

      Probably store selected items in a collection and then use technique shown here ruclips.net/video/tQCBWMR7T64/видео.htmlsi=fr-CaM5NVmauc0-W