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 / Combine two dataverse ...
Power Automate
Answered

Combine two dataverse tables

(1) ShareShare
ReportReport
Posted on by 142
Hi Experts,
 
I would like to create a flow that would combine some of the columns from two different dataverse tables. My identifier for both is the Case Number (generated from the app). Here's my current flow but not seems to be working. And the loading are super slow and I only have less than a thousand of data.

 
May I request for your advice, on how can I improve the flow?
 
Thanks in advance!
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,974 Moderator on at
    Hi,
     
    So I would not do it like this.
     
    1. Whatever is the Outer Master Table start there, meaning do your List Transactions Rows First
    2. Then do the Apply to each for step 1
    Inside that Apply to each, do your List Rows on the Cases, but filter it by the Case Number from the item() of the loop you are in, because right now for every single Transaction, you are looping through every single Case each time
    then do you append
     
    So if you have a 1000 Transactions
    you are looping 1-1000 and if you have 5000 Cases, you are doing this
     
    1
     1-5000
    1000
     
    So its massively slow
     
    So do that so speed it up exponentially
     
     
    So your Code per se is correct EXCEPT for your Questions
     
    List Rows Transactions
      Apply to each
        List Rows Cases (Filtered by item()?['case number'] (or whatever its called that matches
            Apply to each
               Append to your array
     
    Now do your steps outside the loops
     
     And you remove your condition totally as you do not need it.
  • PPDEV Profile Picture
    142 on at
    Thanks @FLMike - This works! Have a good day.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard