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 generates duplicate rows

(0) ShareShare
ReportReport
Posted on by 510

Hi. I created a simple flow to split a filename into an array and then output that array into a CSV Table. My issue is that the CSV Table appears to be creating a duplicate row for each index of my array.

 

rwittels_0-1708509683637.png

 

var FileName string = "123456_Document Type_18_08_2023_16h34m"

The array is created correctly as the apply to each splits the file name at each "_".

 

I am using stringArray as the input for the CSV table and each value as an index of it:

 

rwittels_1-1708509936693.png

 

What am I doing wrong?

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @rwittels ,

     

    Here is a method for your reference:

    vmengmlimsft_0-1708517526171.png

    Compose:

    split('123456_Document Type_18_08_2023_16h34m','_')

    Array:

    outputs('Compose')[0]
    outputs('Compose')[1]
    concat(outputs('Compose')[2],'/',outputs('Compose')[3],'/',outputs('Compose')[4])
    outputs('Compose')[5]

     

    The result of my test:

    vmengmlimsft_1-1708517685295.png

     

     

    Best regards,

    Rimmon

     

  • rwittels Profile Picture
    510 on at

    Thank you. I didn't know that I could access index values from a compose block.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard