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 / Create CSV table gener...
Power Automate
Answered

Create CSV table generating duplicate rows inside apply to each

(0) ShareShare
ReportReport
Posted on by 19

In the flow, I am listing rows from a dataverse table, then for each row am running a few actions then taking the output of the specific row and creating a csv table for each row.  My problem is that inside the apply to each, when creating a csv table, the value option is returning all rows when i just want it to return the current item.  If I use body/value - item, in a compose it is showing the correct row I want to use, but changing the from in create csv table to body/value - item generates the error The 'from' property value in the 'table' action inputs is of type 'Object'. The value must be of type 'Array'.

 

How can I take the current item of the apply to each and create a unique csv table for the item?  

 

Thanks

 

Kthomas_0-1700086579592.pngKthomas_1-1700086657701.png

 

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Kthomas 

     

    You could create an array of each row using expression. Expression needs to be entered in the expression box as shown below:

    ManishSolanki_0-1700113397778.png

    createArray(items('Apply_to_each'))

     

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

     

    Thanks

  • Kthomas Profile Picture
    19 on at

    This was exactly what I needed.  Thank you!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard