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

  Рет қаралды 67,760

Reza Dorrani

Reza Dorrani

Күн бұрын

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

Пікірлер: 429
@oluwatobiyusuf
@oluwatobiyusuf 2 жыл бұрын
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 3 ай бұрын
@@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
You’re most welcome
@MohammadAli-ts2ev
@MohammadAli-ts2ev 2 жыл бұрын
गागर में सागर जैसा है आपका ये शार्ट वीडियो Thank you for being here and helping me in the journey of Power apps and Power automate learning.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
शुक्रिया Your most welcome.
@richardclowes6166
@richardclowes6166 2 жыл бұрын
Thanks Reza, the interaction between Power Apps and Automate is so much better now as you demonstrated.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad to hear that. Thanks for watching.
@saratogabridges3984
@saratogabridges3984 Жыл бұрын
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.
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks for watching
@oricchannel2811
@oricchannel2811 Жыл бұрын
Hi, Reza. Priceless knowledgment. Thanks for sharing !!!
@RezaDorrani
@RezaDorrani Жыл бұрын
My pleasure!
@kireetiyakkali
@kireetiyakkali 2 жыл бұрын
Terrific explanation as always. Thanks Reza for covering this scenario.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Your most welcome
@Andyandrwew144
@Andyandrwew144 2 жыл бұрын
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 2 жыл бұрын
That is also an option. But here it is fully dynamic as the user can pick the filters on the fly.
@Andyandrwew144
@Andyandrwew144 2 жыл бұрын
@@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.
@timo8250
@timo8250 2 жыл бұрын
Thank you! For all your helpful content!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Your most welcome
@PFSIKH
@PFSIKH 11 ай бұрын
Awesome! Excellent walk through.
@RezaDorrani
@RezaDorrani 11 ай бұрын
Thanks for the visit
@imran002ali
@imran002ali 4 ай бұрын
Hello Reza, as always, an awesome video. Every video hold so much knowledge and information; nothing but awesomeness! 👍
@RezaDorrani
@RezaDorrani 4 ай бұрын
Glad to hear that!
@dougydoe
@dougydoe 2 жыл бұрын
Another Great Video. Thanks for sharing and I know I'll come back to it again soon.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thanks
@ethemsevgi
@ethemsevgi Жыл бұрын
Great explanation. Thank you!!
@RezaDorrani
@RezaDorrani Жыл бұрын
You are welcome!
@joanasousa6233
@joanasousa6233 2 ай бұрын
This is perfection, thank you Reza
@RezaDorrani
@RezaDorrani 2 ай бұрын
Thanks so much
@edwinjonah
@edwinjonah 2 жыл бұрын
Another awesome video, thanks a lot!
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad you enjoyed it!
@learntech5183
@learntech5183 2 жыл бұрын
Awesome,thank you so much. You are Genuis.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
You are most welcome
@365g
@365g 2 жыл бұрын
Great video Reza - Thanks for Sharing 🙏 I have a couple of flows that could definitely be cleaned up a bit using this pattern:)
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad it was helpful!
@vibrantfacts9977
@vibrantfacts9977 2 жыл бұрын
Another good one.. Thank you
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thanks
@sunamitolima7786
@sunamitolima7786 2 жыл бұрын
Amazing, very good Reza Dorrani
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thanks
@sparklyyy1083
@sparklyyy1083 4 ай бұрын
Thank you very much!
@RezaDorrani
@RezaDorrani 4 ай бұрын
Welcome
@spen2431
@spen2431 2 жыл бұрын
Brilliant 💥💪👍
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Thank You
@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! ♥
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks
@PaoloMiguelCPajadan
@PaoloMiguelCPajadan Жыл бұрын
Thank you again Reza
@RezaDorrani
@RezaDorrani Жыл бұрын
Most welcome 😊
@kayodeolatunji6118
@kayodeolatunji6118 Жыл бұрын
You are wonderful Reza
@RezaDorrani
@RezaDorrani Жыл бұрын
Thank You
@rachitsinha5285
@rachitsinha5285 2 жыл бұрын
Great Video, I have been looking for Export solution from past few days, looks like you heard it Reza.. :)
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Glad to hear that. I did receive a lot of requests on this one.
@abcff8776
@abcff8776 7 ай бұрын
Thanks!
@RezaDorrani
@RezaDorrani 7 ай бұрын
Thank You
@deepadevi682
@deepadevi682 Жыл бұрын
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 Жыл бұрын
Time is limited. Mostly, my videos have links to download the sample apps and flows.
@deepadevi682
@deepadevi682 Жыл бұрын
Sure, Reza :)
@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 Жыл бұрын
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 Жыл бұрын
@@RezaDorrani Thank you Rez again. I found a work around by using if function.
@carlw
@carlw Жыл бұрын
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 Жыл бұрын
kzbin.info/www/bejne/qoKmc4qDh5yHbJY
@user-dj5ss3ls8p
@user-dj5ss3ls8p 10 ай бұрын
Thanks so much, hope you all the best wish!
@RezaDorrani
@RezaDorrani 10 ай бұрын
Thank you!
@user-dj5ss3ls8p
@user-dj5ss3ls8p 10 ай бұрын
@@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 10 ай бұрын
@@RezaDorrani I can solve this finally. Thanks again!
@PeterAlmazan
@PeterAlmazan Жыл бұрын
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 Жыл бұрын
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.
@nikhilvalaboju1492
@nikhilvalaboju1492 Жыл бұрын
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
@slackehacker719
@slackehacker719 10 ай бұрын
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 10 ай бұрын
User has to consent to Onedrive action as flow is called from power apps. User has to consent to every connection being used.
@giovannitrivieri6722
@giovannitrivieri6722 4 ай бұрын
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 4 ай бұрын
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.
@isaiaguillon9878
@isaiaguillon9878 Жыл бұрын
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 Жыл бұрын
I would have to try it out to know the formula. I have done video on combo box. Check that one.
@phungdao9846
@phungdao9846 2 жыл бұрын
thank you
@RezaDorrani
@RezaDorrani 2 жыл бұрын
👍
@vijayantduhan720
@vijayantduhan720 Жыл бұрын
always exceed the expectation
@RezaDorrani
@RezaDorrani Жыл бұрын
So happy to hear that! Thank You
@tsholomphela4900
@tsholomphela4900 3 ай бұрын
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 3 ай бұрын
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
@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
@infoktkcreative
@infoktkcreative 2 ай бұрын
Very nice
@RezaDorrani
@RezaDorrani 2 ай бұрын
Thanks
@infoktkcreative
@infoktkcreative 2 ай бұрын
@@RezaDorrani can I have your email address please
@rafaalmeida4051
@rafaalmeida4051 2 жыл бұрын
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 2 жыл бұрын
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
@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.
@kevinkagotafa9740
@kevinkagotafa9740 8 ай бұрын
Thank you Reza, can you assist when using the datepicker filter as query?
@RezaDorrani
@RezaDorrani 8 ай бұрын
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
@jaytavare1618
@jaytavare1618 2 жыл бұрын
Great video again...👍 but I have a question can we export more than one excel csv file?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Pass multiple queries and create multiple csv files.
@sundrapillay6668
@sundrapillay6668 2 жыл бұрын
Thanks Reza
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Your most welcome
@philipmugford
@philipmugford Жыл бұрын
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.
@smaug3045
@smaug3045 Жыл бұрын
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)
@wassimreports3aab638
@wassimreports3aab638 5 ай бұрын
Many thanks Reza very helpful. I would like to have the pdf file in landscape form, is it possible with power automate?
@RezaDorrani
@RezaDorrani 5 ай бұрын
You would need to use premium connectors to do that
@chebihifr2795
@chebihifr2795 Жыл бұрын
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 Жыл бұрын
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
@adelinebondjali8116
@adelinebondjali8116 Жыл бұрын
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 Жыл бұрын
Idea would be to pass query as is to flow. Remember flow query patter is odata. I have showcased it in video.
@srikrishnakanthchitturi7934
@srikrishnakanthchitturi7934 10 ай бұрын
@adelinebondjali8116 can you please share your query, have similar requirement
@edwardamoroso8059
@edwardamoroso8059 Жыл бұрын
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 Жыл бұрын
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.
@AliceVillamor
@AliceVillamor 11 ай бұрын
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 10 ай бұрын
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 9 ай бұрын
@@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 9 ай бұрын
@@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 2 жыл бұрын
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
@NKMK7
@NKMK7 Жыл бұрын
Thanks a lot for all the great videos Reza. Do you have the Github package for this solution ? Thanks again.
@RezaDorrani
@RezaDorrani Жыл бұрын
I do not have this on GitHub.
@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
@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.
@kanishkawimalasuriya6636
@kanishkawimalasuriya6636 6 ай бұрын
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 6 ай бұрын
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
@suletopcu6013
@suletopcu6013 21 сағат бұрын
Hi Reza, Thanks for the video. If you want to export all the data in the list without filtering, what parameter should we write instead of Export.Task.Run(startswith)?
@RezaDorrani
@RezaDorrani 21 сағат бұрын
pass empty string as param and try or check in flow if empty string and accordingly do not apply the filter.
@jiteshdhumal2353
@jiteshdhumal2353 2 жыл бұрын
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
@RezaDorrani
@RezaDorrani 2 жыл бұрын
What error?
@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
@nickvargas9597
@nickvargas9597 Жыл бұрын
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.
@arjumandansari2873
@arjumandansari2873 11 ай бұрын
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 11 ай бұрын
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
@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.
@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.
@stephendarier1390
@stephendarier1390 Жыл бұрын
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 Жыл бұрын
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.
@markusbraun9299
@markusbraun9299 9 ай бұрын
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 9 ай бұрын
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
@CoolTamilan07
@CoolTamilan07 Жыл бұрын
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 kzbin.info/www/bejne/qoKmc4qDh5yHbJY
@aducaale328
@aducaale328 2 ай бұрын
Hi Reza thanks for this great content. I have a question: what is the filtered data is a choice how do we call that in Power Automate and also export function in powerapp?
@RezaDorrani
@RezaDorrani 2 ай бұрын
I have done videos on filter queries in flow where I have covered various column types. I would recommend checking that.
@aducaale328
@aducaale328 2 ай бұрын
@RezaDorrani Thank you. I will look for it now sir. God bless you.
@DataisKing
@DataisKing 2 жыл бұрын
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?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
I believe No.
@naveenkarla
@naveenkarla 2 жыл бұрын
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 2 жыл бұрын
I think u can embed styling to your HTML so that i looks impressive like your powerapp
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Not directly as print functionality. You will have to build your own HTML.
@RezaDorrani
@RezaDorrani 2 жыл бұрын
👍
@pune2hyd
@pune2hyd 2 жыл бұрын
You are Awesome👍👃. Can this handle empty, blank and null. As I am using the People Picker ,Datetime and the combo box
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Have not tested with blank but should work.
@pune2hyd
@pune2hyd 2 жыл бұрын
@@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 2 жыл бұрын
@@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.
@souheltahhan9585
@souheltahhan9585 9 ай бұрын
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 9 ай бұрын
kzbin.info/www/bejne/f2mplYijeqh0pJosi=R_aOF1a1kB7sSx25
@souheltahhan9585
@souheltahhan9585 9 ай бұрын
Omg, I'm so glad to follow you up, really appreciate your support and videos
@souheltahhan9585
@souheltahhan9585 9 ай бұрын
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 9 ай бұрын
@@souheltahhan9585 Probably possible but not something I have tried
@fadiahdab
@fadiahdab 2 жыл бұрын
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 2 жыл бұрын
That’s a question for Microsoft :)
@fadiahdab
@fadiahdab 2 жыл бұрын
@@RezaDorrani yes indeed 😀
@roby9390
@roby9390 Жыл бұрын
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
@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
@user-sg4ug5bo5y
@user-sg4ug5bo5y 11 ай бұрын
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 11 ай бұрын
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
@psychedelicrelaxation1509
@psychedelicrelaxation1509 9 ай бұрын
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 9 ай бұрын
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
@Ian_Enterprise
@Ian_Enterprise Жыл бұрын
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?
@RezaDorrani
@RezaDorrani Жыл бұрын
Why without flow?
@ayushsunilkumarjain3212
@ayushsunilkumarjain3212 2 жыл бұрын
Thanks for this. Can we use for data verse?
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Can work with any data source.
@ayushsunilkumarjain3212
@ayushsunilkumarjain3212 2 жыл бұрын
@@RezaDorrani Thank you for amazing video and reply.
@fakharahmedkhan5157
@fakharahmedkhan5157 Жыл бұрын
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 Жыл бұрын
Key is to frame the query in flow. You can pass values from power apps as you mentioned.
@teomercioniu3239
@teomercioniu3239 Жыл бұрын
Like!
@RezaDorrani
@RezaDorrani Жыл бұрын
Thanks
@lpdowdell
@lpdowdell 2 жыл бұрын
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 2 жыл бұрын
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
@RyanSmith-mh1lj
@RyanSmith-mh1lj 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@RezaDorrani , thank you for your kind info, I will take a look at it now, appreciate it.
@DigimonReplays
@DigimonReplays 7 ай бұрын
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 7 ай бұрын
Probably store selected items in a collection and then use technique shown here kzbin.info/www/bejne/qoKmc4qDh5yHbJYsi=fr-CaM5NVmauc0-W
@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.
@basehumax
@basehumax 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@RezaDorrani Give me a direction please which query param to use thanks
@RezaDorrani
@RezaDorrani 2 жыл бұрын
@@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 2 жыл бұрын
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
@mayankgr8
@mayankgr8 2 жыл бұрын
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 2 жыл бұрын
In that case, you would need to pass 2 queries to flow. Perform both those queries and merge the result array in flow.
@puteriku1
@puteriku1 Жыл бұрын
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 Жыл бұрын
Check my videos on odata filter query. You can always pass date as text and use it in queries.
@puteriku1
@puteriku1 Жыл бұрын
@@RezaDorrani I am happy and thanx for the reply. I watch the videos and identify my error which to be replace >= and
@Rexen1995
@Rexen1995 2 жыл бұрын
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 2 жыл бұрын
Sorry but I have no clue about this.
@SHAli1474
@SHAli1474 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
@@SHAli1474 There is no quicker solution at the moment.
@toli48
@toli48 2 жыл бұрын
I prefer rest api connector to do it, launch graph excel add row to a template excel in sharepoint.
@basehumax
@basehumax 2 жыл бұрын
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 2 жыл бұрын
There are some limitations with respect to styling. Not all styles are supported in pdf.
@laminkhant8875
@laminkhant8875 2 жыл бұрын
I try to used gallery design like that gallery what kinds of gallery control you used ??
@RezaDorrani
@RezaDorrani 2 жыл бұрын
Video on gallery designs kzbin.info/www/bejne/mJ-maahpnMmKqdU
@uwecichowicz5444
@uwecichowicz5444 Жыл бұрын
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 Жыл бұрын
@@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 :)
@whynot5503
@whynot5503 9 ай бұрын
Hi Reza, thank you. Is it possible to show images in the files?
@RezaDorrani
@RezaDorrani 9 ай бұрын
Not sure
@JenMayB
@JenMayB 11 ай бұрын
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 11 ай бұрын
Thats odata query in flow. Check documentation on odata query syntax. I have also done a video specific to odata filter query.
@JenMayB
@JenMayB 11 ай бұрын
@@RezaDorrani thank you the quick response reza!
@sumitringane2037
@sumitringane2037 Жыл бұрын
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 Жыл бұрын
I have done no work with sql. Check on forums if someone has done something similar powerusers.microsoft.com
@josephcorpuz257
@josephcorpuz257 6 ай бұрын
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 6 ай бұрын
Multi select columns will require extra work in flow using expressions to get output in desired format.
@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.
@jatinparmar852
@jatinparmar852 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
Canvas App: Export Gallery data to CSV file using Flow
35:14
Last Minute Coders
Рет қаралды 14 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 67 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 208 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Power Apps Export to PDF
25:13
Reza Dorrani
Рет қаралды 144 М.
Use the Power Automate v2 Trigger for Power Apps
19:09
Shane Young
Рет қаралды 36 М.
How to Export Power BI Data to Excel | Query against a dataset
17:58
Power Apps Export data to Excel with Flow - Collections to CSV file
16:28
Export CSV from Power Apps
32:33
Daniel Christian
Рет қаралды 58 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН