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

CSV multiple rows

(0) ShareShare
ReportReport
Posted on by 112

Hi all, 

I have two questions.

 

1) Can you create a CSV table that only takes values from one Sharepoint list item? 

Currently, this is what I have:

csvexample.png

 

Now sure, this works great, until you have more than one item in a Sharepoint list. If I have more than one item, I will receive an email with the CSV file, but it will contain information for both of these items.

 

Is there a way to filter which item information is taken from?

 

 

2)  How can I make multiple values (from different columns in the Sharepoint list) display in the same Excel column, but seperate rows? 

 

This is an example of what I need:

csvwanted.png

I want values like "Testing" and "Test" to be populated by different Sharepoint list column values.

 

I have tried this in flows:

csv not want.png

 

However, I will recieve this:

not want.png

 

For this example, I typed "123" into Labor Rate 1, "123" into Labor Rate 2, and "123" into Labor Rate 3, but they have been combined together, rather than on seperate rows.

 

Is there a way I can make these values go to their own seperate rows (NOT COLUMNS, ROWS).

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @TBuente 

     

    (1) You can filter Get Items using Filter Query so that it will return only the relevant result you want.

    (2) Not sure I understood this correctly. For the Bill Rate you have mapped all the values so by design thats the default behaviour. Why not add more headers Labor Rate1, Rate2 separately? Is that not going to work?

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

     

     

  • TBuente Profile Picture
    112 on at

    Hi,

     

    When mapping the Labor Rate 1, Labor Rate 2, Labor Rate 3, etc, together, they are on their own seperate columns and rows, like this:

     

    DONTWANT.png

     

    For my situation, I cannot have this. I need them to under a "Labor Rate" Column, and have "123", "123", and "123" on rows 2, 3 and 4.

     

    The reason I need this formatting, is because I am creating an app that allows for users to import a csv into our billing software. There is a strict template to follow in order for importing to work on that software.

     

    Thanks!

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at
    Hi
    Thanks for your reply.
    Try to add a compose action. Format that as a string combining all values and output that parameter to csv. Let's see whether that's going to work or not.
  • v-bacao-msft Profile Picture
    on at

     

    Hi @TBuente ,

     

    For your first question, you need to use Filter Query to filter the specified item. You could use the ID as a filter.

    Like:    ID eq 1

     

    For your second question, please try to use the following methods to achieve the requirements.

    • Initialize an array variable to store the value of each column in a single item. You may not be able to reference Dynamic content when configuring Value.
    • You can refer to the configuration in the screenshot, first place the specified Dynamic content in Compose, then copy and paste the Dynamic content into the Value, separated by commas.
    • Then iterate through the array variables and add the column values from the item to the Excel table.

    Image reference:

    100.PNG

    Details of Apply to each:

    101.PNG

     

    Best Regards,

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard