cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Filter onSelect

Hi I am trying to filter data of My SharePoint List by clicking on the button.

 

SharePoint List Name: Group Project Tasks

Fields : Person Field named Assigned To

 

On the screen I set up a button which should filter and show Items in the list where curent User is assigned.

 

This is what I wrote onSelect for my button:

Filter('Group Project Tasks',Assigned_x0020_to.DisplayName=User().FullName)

 

Unfortunatelly nothing happens on the screen onSelect.

13 REPLIES 13

I tried a similar scenario to yours, and the Search/Filter operation worked fine - you can download the sample project from this link.

 

If you remove the third condition in your search/filter expression, do you see any results?

Search(
    Filter(
        'Group Project Tasks',
        ParentID = BrowseGallery1.Selected.ID),
    ActionSearch.Text,
    "Title")

And if you use the other expression (with the 'If' call as the first element in the expression), do you see any results?

The answers to your questins are  "Yes" and "Yes".

It works if I dont include this statement ParentID = BrowsGallery1.Selected.ID

As soon as I add statement above as a first statement or second it stopes showing me the result.

 

Let me know if you have any thoughts.

 

Thank you

 

My form has dropdown,button and data table. When i click on the button the data table should refresh the data based on selected drodown value. How do i achive this?

New Member

Did you ever find a solution for this? It's something we really would like to use.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,603)