Hi all,
I have been trying to create a flow that moves data from one Excel; the flow below works for that 1 set of data (north), but when I repeat the flow for Central, South west, South east etc it copies the North information again, before failing as it's try's to delete the same information.
Solved! Go to Solution.
Hi @Mick_gibbons1 ,
Delete filter query here and add filter array action like this:
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @Mick_gibbons1 , good work! We at least have the flow working! Seems like we just need to troubleshoot why the outputs are incorrect.
Using your Example:
Array 1 Central goes to Central sheet
Array 2 North goes to North sheet
Array 3 and 4. These do not work, array 1 data is distributed to their sheets
First:
It would be very helpful for me and you if you organized the flow and renamed the filter arrays.
Even from your example of, Array 1 goes to Central and Array 2 goes to North, the photos do not correspond to that. Your photo shows Filter Array 2 goes to SouthEast.
(When you rename the filter arrays, you might have to go into the Apply to Each source and x/delete the old Body and put in the new. Sometimes the name doesn't automatically refresh in objects linked to it.
For example the source for Apply to Each will be body('Filter_array'), but if you go and rename the Filter array to "Filter Array North" and the source of the Apply to Each stays as body('Filter_array'), it will error. You have to make sure that the source of the Apply to Each changed to body('Filter_Array_North') so it will get the correct object.)
So Rename the Filter Array AND the Apply to Each so that they correspond. Also put them in order within the flow.
Second:
Double check the source of each one of the Apply to Each so that the body corresponds to the filter array. This should be done as part of the renaming.
Third:
Double check the values that are in the Add a row into a table. The fields should have values that correspond to the Apply to Each that they are in.
So values in Apply to Each 3-SouthEast should show items('Apply_to_Each_3-SouthEast')?['ID'] in the field.
See how all the names match below:
Note:
When you add a new value to a field using the Expression input, the box in the field might look like a burgundy fx items(...) but after you run the flow it looks like a light purple box with the correct name. This is because the flow doesn't really know what it is until after it runs.
Summary:
Basically want you to organize the flow and double check the values. Clearly the flow works, we just need to ensure we are getting the right values to the right places.
Let me know how it goes,
Hi @Mick_gibbons1 ,
Sorry for the bad experience with Power Automate.
Unfortunately, this is a known limitation with "List rows present in table" action. Refer to official document for details:
Excel Online (Business) - Connectors | Microsoft Learn
As a workaround, you can delete the filter query and add a "Filter array" action for the same purpose.
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @Mick_gibbons1 ,
May I know is there any progress or do you need any further help?
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
I would be grateful if you could show me how filter array would work in my flow. I have watched a few videos and it does not make sense to me
@Mick_gibbons1 Are you just doing this one time?
I'm curious because I want to know how the "Main" table is getting populated but the other tables are not. Is the Main table a report or does it get filled from a MS Form?
So the MS form populates the main table. I then want to create a flows that takes those rows, and populated other Excel sheets based on a column in the spreadsheet. That column is not populated by the ms form
Instead of using an Excel workbook, could you use a SharePoint list as the Main table? You don't have to delete the items from the sharepoint Main list, or you can if you want, but you could easily get things from a SharePoint list and put them into excel tables.
Process would be something like:
So basically this is using a SharePoint list as a base of data, and then when the individual item Region is identified it will be moved to the correct Excel table.
I know that is a completely different process, but I think it would be a more long term solution and prevent any issues PA has with running data in and out of Excel.
I've been considering using Sharepoint,
Is there away of having a lookup function in SharePoint, like I do in excel? There for no need for having someone select north south etc
Thank you so much for the reply and thoughts
What is being looked up?
I thought the 'Region' column was not in the MS Form but it is in the Main Excel table? How is that Region column getting populated in the Main excel? I assumed it was manual.
Hi mate
No it's not manual, the postcode/zip code entered into the ms form. Then in excel, the formula checks the postcode against a list and then adds in the region
Hi @Mick_gibbons1 ,
Delete filter query here and add filter array action like this:
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
Now i understand. So list the row, filter array, then set all the add rows to the table, then delete. Thank you, i will check this out asap
Similarly, you could Get the form response, filter the excel Zip Code table with the form response zipcode, get the region, and add a new row directly to the specific table.
This will skip the main table and delete requirement. It also doesn't require a dependency on a formula to lookup the zipcode.
I think formulas will not work if the file is not opened or refreshed, but you can test that. It might work for you since this is a scheduled flow.
I've seen when people try to use a workbook as a intermediate calculator too rapidly with a PA flow, the formula may not update the item.
Just as I typed this, the question comes up in the forum:
So I have tried, the following flow. All it does is copy all rows to both sheets and not seperating into their tables
I would not know where to start with that idea lol
You have to use the Filter Array as the source of the Apply to Each and for the values of add new row to the table.
You will have to individually put an expression of item()?['ColumnName'] into each field. There will not be any dynamic content to click and put values into the fields like when the Excel action is the source.
Let me know how this works for you.
I believe you will have problems deleting the rows due to these actions running in parallel, but I don't know that for sure. It might work fine since it is using a unique row identifier to delete the specific rows.
Does not work in Parallel, and when i try and run in order, it does the same. Thank you for your help
I don't understand. You made your flow look exactly like my example, but it is still putting all rows on all tables?
I tested my example and it worked without an issue.
I tried, but it does not let me run a parallel branch for a second lot of data. Then when I try and do your version with a rerun under it, it does not work. It keeps changing the Fx to dynamic.
I have 4 types of data, that needs to go into 4 different tables.
I understand you want to do this across 4 different tables.
What does "It keeps changing the Fx to dynamic" mean? Can you show a screenshot?
Does the flow fail? As in the flow itself does not complete and has an error?
Or does the flow run through completion, but it is Not producing the results you want?
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24 17 @Anil_g 7 @ManishSolanki 13 @eetuRobo 5 @David_MA 10 @VishnuReddy1997 5 @SpongYe 9JhonatanOB19932 (tie) @Nived_Nambiar 8 @maltie 2 (tie) @PA-Noob 2 (tie) @LukeMcG 2 (tie) @tgut03 2 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate @Deenuji 12@ManishSolanki 19 @Anil_g 10 @NathanAlvares24 17 @VishnuReddy1997 6 @Expiscornovus 10 @Tjan 5 @Nived_Nambiar 10 @eetuRobo 3 @SudeepGhatakNZ 8 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2 Anil_g2 SharonS2
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages