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 Apps / Task Table Does Not Up...
Power Apps
Answered

Task Table Does Not Update

(0) ShareShare
ReportReport
Posted on by 12

Usueally I have a sort and filter code for the items in a table control. There is a form alongside the table control. When a record from the table is selected it populates the form, and when the form is submitted, the table is updated. 

 

I wanted to use a button to filter this table, so I changed the table items property to a variable. This variable is set automaticly when the screen loads, and also changes when the button is clicked. Now when a change is made in the table, it no longer updates. The only way to see the change reflected is to exit and reenter the screen. Refreshing the data source does not help this either. 

 

What could I be doing wrong?

 

Screen OnVisable Code

UpdateContext({TaskTableFilter:SortByColumns(Filter('[dbo].[Tasks]',ID_Process='Processes Gallery'.Selected.ID_Process),"Order")})
Categories:
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @dyaw-Drexel 

     

    One the form control,

    On OnSuccess Property do the same -

    UpdateContext({TaskTableFilterSmiley FrustratedortByColumns(Filter('[dbo].[Tasks]',ID_Process='Processes Gallery'.Selected.ID_Process),"Order")})

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • dyaw-Drexel Profile Picture
    12 on at

    Hi @RezaDorrani,

     

    I'm not sure that would work. The problem is there will be multipule filter buttons, and only one form. I need the associated table to update no matter which filter is applied.

     

    Thanks,

     

    Dan Yaw

  • Verified answer
    dyaw-Drexel Profile Picture
    12 on at

    I found a workaround. I can assign a variable the filtering value, and tack it on to the filter statement using an !IsBlank() if statement

     

    SortByColumns(Filter('[dbo].[Tasks]',ID_Process='Processes Gallery'.Selected.ID_Process && If(!IsBlank(TaskStatus), Status=TaskStatus)),"Order")

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard