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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,984)