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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Select Functio

(0) ShareShare
ReportReport
Posted on by 56

Hi all,
I am new to Power Automate and thought if someone could give me a pointer. 

I am using the following to create a CSV table but it is returning an additional 24 rows. I figure it is because the Output of Select 2 have 24 elements (or question), so they are replicating the entire table 24 times. 

How do I prevent this? Thanks .

werdnak_0-1594263970621.png

werdnak_1-1594264029833.png

 

 

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    Select transforms elements from an array, keeping same nr of elements from the input. So, the 24 rows are due to the array currently assigned as input to your Select action block.

    Are all rows duplicates? Do you need just one row?

    Can you provide more details from your Flow design by means of a more detailed screenshot?

    Thanx!

  • werdnak Profile Picture
    56 on at

    hi @efialttes ,

    Thanks for your guidance.

    To begin, I have a Microsoft Form with 19 questions. I created an MS Flow as following:

    Compose - body('Get_response_details')

    Compose 2 - string(outputs('Compose'))

    Compose 3 - split(outputs('Compose_2'),',')

    Select2 - outputs('Compose_3')

    Create CSV Table - body('Select2')

     

    werdnak_0-1594277324371.pngwerdnak_1-1594277363172.png

    The outputs are as follow in a CSV File: 

    werdnak_2-1594277415182.png

     

  • werdnak Profile Picture
    56 on at

    @efialttes 

     

    I really just want to see one row like this:

     

    werdnak_0-1594277756618.png

     

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi!

    I believe you are mappint your Select values directly from 'Get response details' dynamic content right?

    If so, you just need to assign a dummy array as 'Select' input, make sure the array has a single element inside. For example:

    Flow_CreateArray.png

    There are more elegant ways to achieve this but this should make the trick

    Hope this helps

  • werdnak Profile Picture
    56 on at

    Thanks @efialttes - This works. I overcomplicated the formula 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard