Hello,
I am building a flow for work linked to a Microsoft form, the goal of which is to provide my managers a To Do list of action items.
I originally created 1 array variable to include all desired responses, not knowing I couldn't apply a sort function to the outcome. Since I need the To Do list to be presented in a specific order, I ended up changing the flow to work with 1 array variable to 15 array variables to coincide with the 15 sections of the To Do list (the line items per section are scrambled but that's ok).
From there, I tried to use the union function using "Compose" in "Data Operations" but for some reason, I lose some of the action items. This would have been an ideal solution so that I could get all my data "sorted" in one table vs. my current solution of creating 15 HTML tables (all with different column widths, which looks a tad unprofessional) and pasting them one on top of the other in my email to my manager(s) (see below) .
How can I make it so that I have one table with no missing data? I want to avoid attaching excel documents as I plan on transitioning this from an email sent to a text message sent.
Thank you,
Michael
Solved! Go to Solution.
Hi @MikeyCas
Thanks for the screen share and explaining your requirement. This is an interesting question and I thought of doing a tutorial video about this. Might be useful for other community members as well.
In my video I explains the technique to collect all Microsoft form responses and apply the custom filters. If you have any questions please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @MikeyCas
Without seeing your flow and data its difficult to give you an exact answer. Please see below blog
Power Automate HTML Table Styling – Ryan Maclean (ryanmaclean365.com)
Have a look and see what you could do with your data. If you still need help please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHello @abm
Thank you so much for the prompt reply. Here is a few snippets of my flow:
I am basically initializing a bunch of array variables to help sort/structure my data. Then I go through each question, and when the answer is (for the most part) "No", then it is appended to 1 of the 15 array variables (see the example above for Condition 6 - all is structured the same way). Ideally, I would rather have 1 table with all the action items vs. many tables. Once the email is sent, the flow is done.
Thank you,
Michael
Hi @MikeyCas
Can't you append all into one array? I can see you have same headings you shown in your previous posts.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my bloghi @abm
I originally had it appended into one array but because power automate doesn't have a sort feature and I need the results presented in certain order, I had to break it up into many array variables. Now, I want to merge the data from these variables into one table. I tried with the union formula, but I keep losing data.
Hi @MikeyCas
There is no direct function for sorting array in Power Automate. Here is a good article for a workaround.
How to implement Sort with Microsoft Flow in 3 actions within a loop — John Liu .NET
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @abm
Thanks for the reply. I appreciate the post provided but is there no way to merge the data appended in my variables with the union function or another means without losing data?
Hi @MikeyCas
Please check your email?
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog@abm I set up a meeting for us to meet, but you did not show. Is everything ok?
Hi @MikeyCas
Thanks for the screen share and explaining your requirement. This is an interesting question and I thought of doing a tutorial video about this. Might be useful for other community members as well.
In my video I explains the technique to collect all Microsoft form responses and apply the custom filters. If you have any questions please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThanks. If you have any more questions please let me know. Hope its helpful.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThe first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
80 | |
20 | |
17 | |
14 | |
13 |
User | Count |
---|---|
135 | |
32 | |
32 | |
31 | |
25 |