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 Apps / Filter datatable with ...
Power Apps
Unanswered

Filter datatable with gallery selection

(0) ShareShare
ReportReport
Posted on by 272

I have a navigation that's a gallery (Gallery4) and a dataTable (DataTable6).  I am trying to filter the dataTable when an item is clicked in the gallery.  I tried the following but I get a squiggly red line under the formula.

 

'Request Status' is the column name in the DataTable.

The gallery's datasource is a collection called requestStatus.

 

ClearCollect(requestStatus,

"Awaiting Assignment",

"Pending",

"In Progress",

"Complete"

);

 

Filter(DataTable6, DataTable6.Selected.'Request Status' = Gallery4.Selected.Value)

 

What am I doing wrong?

 

 

 

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    item property of Data Table:

    Filter(DataSource,'Request Status'.Value=Gallery4.Selected.'Request Status'.Value)

     

    Example:

    a.jpg

  • theisogunro Profile Picture
    272 on at

    Thanks for responding.

     

    Sorry, I had changed the datasource from a list to a collection.  The collection looks like this.

     

    ClearCollect(requestStatus,

    "Awaiting Assignment",

    "Pending",

    "In Progress",

    "Complete"

    );

     

    I will modify the question to reflect his.

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    DataTable Item Property:

    Filter(DataSource,'Request Status'.Value=Gallery4.Selected.Value)

  • theisogunro Profile Picture
    272 on at

    For some reason it's not working

  • theisogunro Profile Picture
    272 on at

    I recreated it in another environment and used the name 'Project Status'.  I don't get any errors but the filter doesn't work either.  See below:

     

    theisogunro_0-1624986176893.png

     

    Project Status in SharePoint is a choice column.  Not sure if that makes a difference.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard