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 Platform Community / Forums / Power Automate / Dataverse List rows - ...
Power Automate
Unanswered

Dataverse List rows - nested query

(0) ShareShare
ReportReport
Posted on by 3

Hi,

 

I'm not sure how best to start with this.

 

I have a requirement to produce a CSV that lists a number of rows from a table (simple enough), but I also need to include a string value which is concatenated from one or many records that are related 1-Many to the parent record. 

 

A good example of this would be concatenating all contact names to a single field and producing a CSV of account names with 1 line per account.

 

I can get both data points, where I'm struggling is bringing the data together.  I'm sure there must be a simple way of doing this?

 

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @brknsclstv 

     

    If you're getting the results from a list rows with a filter query, you could then use a select action in text mode (click the T to enter the mode) and this would create an array of the dynamic value.  You can then run join() on the array with the character of your choice to create a string of results.

     

    Hope that makes sense?!

     

    Damien

  • brknsclstv Profile Picture
    3 on at

    Hi @DamoBird365 

     

    Thanks for your response.  Not sure I follow though.

    Yeah, I'm using two list rows - 1 for accounts and 1 for contacts filtered by parentaccount id from the first list row.

     

    Are you suggesting that I add the select action into the each loop for the contact list rows.  How would I join that back to the account row so I can see 1 account per row (with contact names concat) in the CSV?

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard