web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / i have 2 apply to each...
Power Automate
Unanswered

i have 2 apply to each loops where 1 is number loop and 2 is item loop , i will be  writing xpath expression in item loop and will get value for each iteration of item loop where i want to store this each iteration value in  row wise in csv table based on number loop count using power automate cloud

(0) ShareShare
ReportReport
Posted on by

i have 2 apply to each loops where 1 is number loop and 2 is item loop , i will be  writing xpath expression in item loop and will get value for each iteration of item loop where i want to store this each iteration value in  row wise in csv table based on number loop count using power automate cloud flow

Categories:
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @padmak 

     

    Could you pls explain with example? If possible, pls share the screenshot(s) of the flow in edit mode.

     

  • padmak Profile Picture
    on at

    Apply to each -Number

    {

    Apply to each -Item

    {

    xpath expression 

    }

    }

    Now  each output of X path expression appended to array but it is coming in column wise, but i want it to be in row wise based on Number loop count to create csv file

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    I still haven't understood the problem statement property.

     

    But to get rid of multiple columns, you may use string array or object array with single property. Add the required values from xpath query in that array. This way you will get the output row wise in a single column instead of multiple columns.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard