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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Filter, Set & Return table from flow to reduce burden on PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello,

Need a flow to filter, set & return data using flow instead of PowerApps.

 

The requirement is to build Table3 from Table1 and Table2. Table 2 to get Last Date(means latest date) for each tag X&Y.

The table composed in flow will return to PowerApps to use in a collection name LC_COLL3.

 

I need because doing it in PowerApps is time consuming(it takes 15-20 sec to load!) for large list of SPO list items

Also sometimes PowerApps throws Rate Limit exceeded error, I am hopeful that if this operation is done at server side, PowerApps will run smoothly.

The photo below is only for explanation, all actual data is in various SPO lists.(Table1 is 200+, Table2 is 5000+)

 

Annotation 2020-04-27 130853.png

 

@ChristianAbata Hi friend.

 

Regards,

Ankit

I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Re: Filter, Set & Return table from flow to reduce burden on PowerApps

    Hi!

    Two questions:

    -Table 1, Table 2 are lists stored in Sharepoint, right?

    -Which is the column type of 'Name' in 'Table2'?

    -Is Table 3 a list you need to show in your powerApp, or is it an already existing list in Sharepoint and you need to update it?

     

    My suggestion is:

    Add a 'Get items' from Table 1

    Add a  'Get items' from Table 2 (you will need to activate pagination here, on 'Get items' settings). Assign as its OrderBy input the following ODATA expression:

    Date desc

    Add an 'Apply to each', assigning 'Get items' from Table 1 output as its input. Now inside the Apply to Each:

    -Filter Array, assign as its input 'Get items' from Table 2 output, configure the condition to filter those Table 2 items whose Name equals current iteration Name

    -Now, you can get the current iteration latest version by means of the following expressions

    first(body('Filter array'))
    
    first(body('Filter array'))?['Date']
    
    first(body('Filter array'))?['Tag']

     

     

    Hope this makes sense

  • Community Power Platform Member Profile Picture
    on at
    Re: Filter, Set & Return table from flow to reduce burden on PowerApps

    @efialttes Hi,

     

    Two questions:

    -Table 1, Table 2 are lists stored in Sharepoint, right?

    Ans: Yes

    -Which is the column type of 'Name' in 'Table2'?

    Ans: Name=Text, Tag=Text, Date=date only

    -Is Table 3 a list you need to show in your powerApp, or is it an already existing list in Sharepoint and you need to update it?

    Ans: Table3 is an object created in flow which will be returned in PowerApps. It is not in SPO.

     

    @efialttes  Please show in a flow(screenshot) if possible. Thanks 🙏

  • MJain Profile Picture
    2,450 on at
    Re: Filter, Set & Return table from flow to reduce burden on PowerApps

    Hi Ankit,

     

    Please use the following url 

     

    https://sharepains.com/2020/03/20/create-joins-in-power-automate/

     

    Thanks

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Filter, Set & Return table from flow to reduce burden on PowerApps

    The flow not working for me. Not getting expected values.

    @efialttes 

     

     

    Annotation 2020-05-06 181849.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Filter, Set & Return table from flow to reduce burden on PowerApps

    Can anyone help please?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard