#PowerApps #Filter In this video I show two ways that you can create a Filter Control to refine the results in a gallery.
Пікірлер: 61
@jabelltulsa4 жыл бұрын
This is another great use of that gallery "tab" selector method in the video from the other day (which I just put in place - works perfectly). I don't have a use for this quite yet, but when I do, this will come in really handy. Thanks!
@AprilDunnam4 жыл бұрын
That's awesome Jason! Glad to hear you were able to find a use for the tabs already! Hopefully you'll find a use for the filter control soon too ☺
@CarlosSolisNow3 жыл бұрын
So Timely. I needed this for an web portal app. AWESOME 🖐🏾🖐🏾🖐🏾
@AprilDunnam3 жыл бұрын
Perfect! Glad it was helpful!
@Slash10664 жыл бұрын
Really useful, the logic in the control is simple but very clever. I do have use for this right now. Thanks for the guide.
@AprilDunnam4 жыл бұрын
That's great glad this was useful for you Mat!!
@feic98212 жыл бұрын
Simple yet Awesome! Thank you!
@AprilDunnam2 жыл бұрын
Glad you like it!
@turisabela3 жыл бұрын
Your videos are life saving. You're helping me a lot . God bless you.
@AprilDunnam3 жыл бұрын
Thank you Isabela - so happy to hear this! If there are any topics you would like videos on let me know!
@narapat1004 жыл бұрын
Thanks a lot April... your videos are really helpful.. Appreciate your efforts.
@AprilDunnam4 жыл бұрын
Thanks Narapat!
@Laughing_out_loud_2 жыл бұрын
To the point and clearly explained video in less mins. I am glad I didnt have to go through a 20 mins video
@AprilDunnam2 жыл бұрын
So glad to hear this was helpful! I do my best to get straight to the point :)
@shaikzuber79453 жыл бұрын
Thank you for making this video.
@AprilDunnam3 жыл бұрын
Thanks for watching Shaik!
@abbyv34243 жыл бұрын
Hi April, Thanks for sharing this, your videos are great!! I would like the gallery to only show items that the user has created or that their manager needs to approve. 1. Is there a way to restrict the results to only show items you have created? 2. Is there a way to restrict the results to only show items someone needs to approve from a different button? I do have a list for 'Requestor' and 'Approver' that are both Person columns. Thank you!
@tolirocks3 жыл бұрын
April, I've gotten this to work, however in my results list I have to click it twice for the record to show, it doesn't happen with all my filter choices but 3 of the 5 seem to do it
@alpin7142 жыл бұрын
Hi April, Thanks for your great videos and to help me learn powerapps!! I have a question\doubt I have configured this filter control of yours but my search box does not search now, how can I solve this issue?
@rushdial-hijjawi7475 Жыл бұрын
Hi April, I was trying to implement same as at ur Video but when i reach to add the command If(AssignedGallery1.Selected.Value = "Unassigned",Filter('Issue tracker', StartsWith(Title,TextSearchBox1.Text)),Filter('Issue tracker', StartsWith(Title,TextSearchBox1.Text) && Status = AssignedGallery1.Selected.Value)) its not working , what i was to achieve is when the when i click on Unassigned then only Ticket with status unassigned would be visible, is there a way to send you screenshot of my Power app?
@ericbeauchesne33252 жыл бұрын
Thanks April, your videos are so usefull, I'm a rookies in Power Apps, but your explanation are so clear, that i could build my own timesheet base on your saying and my company will use it. If you ever need a contract contact me, we need minds like yours to implement new solution. When I complete my application I'll send you a link. Sorry for my english i'm from Quebec with no chance to practice.
@zaidkashour4 жыл бұрын
Awesome April. If you have to use two or three galleries the same way for filtering, will this method be ideal? or should we collect the selected gallery value to a collection and then use that Collection value in the If statement?
@AprilDunnam4 жыл бұрын
Great question Zaid! There's no right or wrong answer here but in my opinion, if you have multiple filters like that and/or if you will have your filter and results sources on different screens then the collection approach is probably more performant.
@sachinmangalwedhe81944 жыл бұрын
Excellent
@AprilDunnam4 жыл бұрын
Thank you! Cheers!
@eriks7073 жыл бұрын
Thank you for the video, very well explained. I am trying to filter my gallery based on a search field and check box. I will add a column to my SharePoint list so I can save the list entries as Yes/no when in my edit screen, What I am then trying to do, is filter the gallery based on a check box which I plan on placing on my dash screen by the search field. If checked, it only shows SharePoint list entries marked as true, if not it shows all entries. I cant figure out how to tie the check box to the SharePoint True/False and to the filter code. Do you have any Idea how I can accomplish this?
@AprilDunnam3 жыл бұрын
Hey Erik - There's actually a known issue right now with searching on Power Apps boolean fields that you can read more about here: powerusers.microsoft.com/t5/Power-Apps-Ideas/Properly-filter-SharePoint-Yes-No-column/idi-p/158375 My work-around is to leverage a Single Line of Text field instead and just put a 0 if false and a 1 if true. You can key off of that in your Power Apps filter
@kittydoes76003 жыл бұрын
Hi April, another wow video! Do you have a complete video creating this Training app?
@AprilDunnam3 жыл бұрын
I don't have one yet but I will show it in one of my Template Tuesday videos here soon!
@kittydoes76003 жыл бұрын
@@AprilDunnam yehey thank you. You're the best!
@quanngo1404 жыл бұрын
Hi April, thanks for the great and useful sharing, i'm having issue at the the line && Status = Dropdown2.Selected.Value. When there's a invalid argument type at '='. Could you advise on this ?
@AprilDunnam4 жыл бұрын
My guess is the Status field in your data source is a Dropdown field. If so you need to add .Value to it like so: && Status.Value = Dropdown2.Selected.Value
@quanngo1404 жыл бұрын
@@AprilDunnam Thank you April, it works perfectly. Amazing !
@robpawlikowski40203 жыл бұрын
I have a main page with a gallery showing a list of items (data source is an Excel Spreadsheet), showing Name of the Item, Author and Last Update. Clicking on icon opens a page showing details of the given update. I want to link the selected ID from Gallery1 (gallery on the main page) with a gallery on the Detail page that filters a second list (also an Excel Spreadsheet) that shows a list of updates. Both lists contain an ID field that can act as a key. I haven't been able to get it to work. I've tried many variations, like "Filter(SecondTable,ID=ThisItem.ID" and "Filter(SecondTable, ID=Gallery1.Selected.ID)", but nothing seems to work. Solutions anyone?
@gemmabilboe19612 жыл бұрын
Hey, how this work if the data is ‘choice’. It says that there’s a incompatible types for comparison and that record and text cannot be compared. Please help
@garyhuang114 жыл бұрын
In this example, if the Status was a lookup from another table, how would the formula look? I tried this but I get an error with invalid argument. I take it I can't use LookUp?
@AprilDunnam4 жыл бұрын
Hi Gary - You should be able to filter by a lookup. The Filter formula would look something like this: Filter('My Training', StartsWith(Title, tbSearchTraining2.Text) && Status.Title = Gallery2.Selected.Value)
@naveenkumar-ou1nr3 жыл бұрын
HI, I have a list : Share Point List with these columns(Name, Start Date , End Date and Count). Now i want to get the sum of the count by filtering Name, Start Date and End Date.
@michealwick9283 жыл бұрын
So I can get my gallery to filter with just the search using "Filter('IT Help Desk Tickets',searchQuery in Description || searchQuery in User.DisplayName)" and filter using the buttons with "Filter('IT Help Desk Tickets','Issue Status'.Value = Gallery2.Selected.Value)" but I can't get it to work with: If((Gallery2.Selected.Value="All",Filter('IT Help Desk Tickets',(searchQuery in Description || searchQuery in User.DisplayName))),Filter('Issue Status'.Value = Gallery2.Selected.Value) || Filter('IT Help Desk Tickets',(searchQuery in Description || searchQuery in User.DisplayName)) I am not sure where my context is going wrong. It is not liking the "else" comma in the middle of the statement. Can you help me troubleshoot my context? Great Video by the way. Thanks
@jonathanlloyd89203 жыл бұрын
Another great video. Question. Is there anyway to hide the gallery until a user enters a search in a filter text box input and then only show that particular result?
@AprilDunnam3 жыл бұрын
Hey Jonathan - You should be able to do this using variables. So for example, in the OnVisible property of your Screen with the gallery you can set a variable like so : UpdateContext({showGallery:false}) so it's hidden on first start. Then in the search box you can have an icon you click to initiate the search. In that icon's OnSelect property you can set UpdateContext({showgallery:true}). Then in the Gallery's Visible property set it to showGallery Hope that helps
@jonathanlloyd89203 жыл бұрын
@@AprilDunnam Thank you!!! Love your content, its always fantastic
@huntjonh67013 жыл бұрын
Hi April! Thanks for the tips and tricks videos, they are very helpful!:) Need your help though on a project that I am making using power apps charts. Can I ask for your help? Thank you!:)
@AprilDunnam3 жыл бұрын
Hey - I can try to answer some questions if you have them. But if you need some in-depth support, the Power Apps 911 guys offer 1:1 consulting
@johndecastro66853 жыл бұрын
Hi April, I tried the function in my Contacts (sharepoint List), I have "active,complete and All" in My Status Field. But its not accepting the = argument. Can you help?
@AprilDunnam3 жыл бұрын
Hey John - What is the field type in SharePoint (choice or lookup)? Can you share your formula?
@johndecastro66853 жыл бұрын
@@AprilDunnam If( "GalaryName".selected.Value = "All", Filter( "Source", StartsWith( "Field", "tblSearchinput".Text ) ), Filter( "Source", StartsWith( "Field", "tblSearchinput".Text )&& Status = Gallery.selected.Value ) ) In This formula, I get an Equal error (=) I am not using Title for my field as Use a Single text Field, would that be a problem?
@rubesandboogs63674 жыл бұрын
Hi April I have a Blank Horizontal Gallery called FilterGallery that has Labels I have another Vertical Gallery called IncidentOwnerGallery with the layout, Title. Title36: Incident Owner My final Vertical Gallery called IncidentStatusGallery My data Source is Risk Incident Management Form What I am trying to do is in the labels of the FilterGallery, have the Function Names, column name (Function Name) in my sharepoint list, so when you click on any function, it filters the Incident Owner Gallery first, then the Incident Status Gallery of which can then navigate to a new screen that shows the entire record which can be viewed or edited. If you can assist that would be awesome....p.s. love your videso
@AprilDunnam4 жыл бұрын
I think what you are needing is nested galleries. Unfortunately I don't have a video on this right now but the great Shane Young does. Hopefully this helps: kzbin.info/www/bejne/pJ3LiISdZZiHgpI
@rubesandboogs63674 жыл бұрын
Thanks April, I’ll give it a try
@AMindGame Жыл бұрын
This isn't Straightforward Queen.. I need to connect my filter to a choice column that have 4 choices. I'm strugling with the guidance.
@pawanachettri3 жыл бұрын
Would be really nice to implement this, but in my new gallery9 i see many duplicate status eg. completed completed, pending pending and so on (scrollable) plz suggest 😭
@AprilDunnam3 жыл бұрын
Hi Pawana, If you post the issue you are having in detail with screenshots on the power users community I'm sure someone can help provide some suggestions: powerusers.microsoft.com/
@gokurukay12343 жыл бұрын
Nice Video April, i have success make control filter gallery but i have problem can't sort by date value="all" can advice how to add sort?. thank you.
@AprilDunnam3 жыл бұрын
You should be able to do something like this: SortByColumns(Your Data Source Here, "COlumn to Sort By", Ascending)
@gokurukay12343 жыл бұрын
@@AprilDunnam i using button filter for gallery and i want sort gallery base on "ID", this i share source in gallery but didn't work : Switch(glrRequestFilters.Selected.value,"All",Travel,"Pending",Filter(Travel,Status="Pending"),"Approved",Filter(Travel,Status="Approved"),"Declined",Filter(Travel,Status="Declined"),Sort(Travel,ID,Ascending)) . can help thank you.
@ivarshum35013 жыл бұрын
Why I cannot filter in pending or closed? I it related to the source ?
@AprilDunnam3 жыл бұрын
Hi Ivar - It might be a source issue, possibly a data type mismatch. What is your data source and what type of field is it? What error are you getting?
@ivarshum35013 жыл бұрын
Thanks April, the error fixed 👍🏻👍🏻
@ezraorina1003 ай бұрын
Who stole the intro from the other.. You or @Shane Young