cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JamFestival
Regular Visitor

Array Variable --> Excel, Add a row into a table

I have created a Flow to populate an array from an email.

I now need to add data from that array as a new row in an Excel table I have set up (the array data is equivalent to a single row of data).

 

I am familiar with mapping fields from a Form submission in 'add a row to a table', but I don't know how to map objects in an array.

 

Can anyone please assist with this?

1 ACCEPTED SOLUTION

Accepted Solutions
JamFestival
Regular Visitor

I have managed to deduce what I need to do.
I needed to use an expression, as opposed to Dynamic Content.
This is the expression I used (varArrayOutput is my array, and 0 is the first object in the array, so column 2 would have 1, 3 - 2 etc):
variables('varArrayOutput')?[0]?['ValueAdded']

View solution in original post

2 REPLIES 2
JamFestival
Regular Visitor

I have managed to deduce what I need to do.
I needed to use an expression, as opposed to Dynamic Content.
This is the expression I used (varArrayOutput is my array, and 0 is the first object in the array, so column 2 would have 1, 3 - 2 etc):
variables('varArrayOutput')?[0]?['ValueAdded']

View solution in original post

alrez
Community Support
Community Support

Hi,

 

Thanks for your follow up post! I am glad that you were able to figure out what your issue was. Hopefully this will prove useful for future communities users.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,505)