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

Filtering a gallery by status

I have a simple list of Facilities Requests.  I need to be able to filter the gallery by Status (New Request, In Process, Complete, Cancelled).  When I add a dropdown and tie it to my SharePoint list called Facilities Requests, the value of Status does not show up as a selection possibility.  Now I don't know what to do. 

 

Also, could you please tell me how to have the gallery auto-sorted with the newest submission at the top of the list?  Right now, it is sorting alphabetically.  Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @ahohman ,

 

See the below screenshot which will help you to understand the filter is returning any data or not. if the filter is not returning any data I urge you to check the list and change the filter accordingly.

Filter query.png


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

4 REPLIES 4
Super User III
Super User III

On the Dropdown items put;

Choices ('Facilities Request'.Status)

 

Then filter as 

Filter ( Datasource, 'Facilities Request'=DropdownName.Selected.Value)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Super User II
Super User II

Hi @ahohman,

 

Please use this formula to get the data in sorted order, 
set this onvisibility of the screen and then assign this collection to the gallery

Sort(Filter(SampleList,Status.Value=Dropdown4.Selected.Value),Created,Descending)

For dropdown assign the values as :

Choices(SampleList.Status)

See the below working model of the same:
filter gallery.gif

I hope this resolved your issue if you see any challenge/need further help let me know I am always happy to help.

 

Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Hi KrishnaV,

I got the choices to display in the dropdown, but I still can't figure out the filtering piece.  I've entered it how you have it on the property VISIBLE (I hope that's right) but I've got nothing. I've added another screenshot in the hopes that you can tell me where I'm going wrong.  Thanks.  

Angela

Hi @ahohman ,

 

See the below screenshot which will help you to understand the filter is returning any data or not. if the filter is not returning any data I urge you to check the list and change the filter accordingly.

Filter query.png


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

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 (5,763)