Тёмный

Part 5 - PowerApps Delegation & Gallery Filtering using Person column (single and multi select) 

Reza Dorrani
Подписаться 130 тыс.
Просмотров 21 тыс.
50% 1

This is part 5 of my PowerApps delegation Vlog series - PowerApps Delegation & Gallery Filtering using Person column (single and multi select)
This video will walk you through the concept of achieving delegation and filtering with Person column
Part 1 - What is delegation in PowerApps
• PowerApps Delegation w...
Part 2 - Delegation with SharePoint Date columns
• PowerApps filter galle...
Part 3 - Delegation with Choice, Lookup & Yes/No columns (SharePoint)
• Power Apps Gallery Mul...
Part 4 - Delegation with Multi Choice/Lookup columns (SharePoint)
• PowerApps Delegation &...

Опубликовано:

 

22 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@kharchenko28
@kharchenko28 4 года назад
I have got a lot from your 5 videos. Thank you!
@RezaDorrani
@RezaDorrani 4 года назад
Glad you like them! I hope to keep keep creating valuable content.
@RezaDorrani
@RezaDorrani 3 года назад
Thank you. I have added 3 more to this playlist. Do check them out.
@jt9228
@jt9228 9 месяцев назад
Hi Reza. Whenever I need to figure out how to do certain things in PowerApps I check out your channel. I just watched your series on delegation and picked up a lot of pointers form them. You are so good at explaining things and showing how-to's. Thank you so much for sharing your knowledge!
@RezaDorrani
@RezaDorrani 9 месяцев назад
Awesome! Thank you so much.
@IamSanjayPersad
@IamSanjayPersad 10 месяцев назад
I looked far and wide for a solution to filtering by a multi person column. Only you could have broken this problem down into segments and provided such a practical solution. You are amazing, thanks a mil Reza.
@RezaDorrani
@RezaDorrani 10 месяцев назад
Glad to hear! This is a decent solution. For very large lists (50k+), you would see performance challenges. I did many videos recently on graph api which offers more flexibility.
@IamSanjayPersad
@IamSanjayPersad 10 месяцев назад
@@RezaDorrani Will def check them out
@IamSanjayPersad
@IamSanjayPersad 10 месяцев назад
Hey Reza I have a quick question. If you have a sharepoint list that contains a multi select person column. How do you preload the people picker with the persons in the column. So say you have three persons in the assigned field, how can you preload the names in a people picker in a powerapps form?@@RezaDorrani
@RezaDorrani
@RezaDorrani 10 месяцев назад
@@IamSanjayPersad I do not have a video reference on this. Something for me to try out to know the steps. I recommend posting your query on forums at powerusers.microsoft.com
@IamSanjayPersad
@IamSanjayPersad 10 месяцев назад
Thanks for the guidance Reza. Will do@@RezaDorrani
@cztop54
@cztop54 4 года назад
Reza, thanks ever so much! Watching along so that I understand each of your videos is some of the best time I've spent -- ever -- learning PowerApps! Wish I'd have found these earlier. You're such an excellent teacher!
@RezaDorrani
@RezaDorrani 4 года назад
Thank you so much for watching and appreciate the wonderful feedback. I hope to keep producing good quality content.
@user-ce7zt9yf8l
@user-ce7zt9yf8l 6 месяцев назад
Thank you so much, Reza. I asked for a lot of help but only you finally solved my problem. Every time I watch your video I gain a lot!!!
@RezaDorrani
@RezaDorrani 6 месяцев назад
You are most welcome!
@OracleDirectLAD
@OracleDirectLAD 4 года назад
Thank you Raza, excellent videos.
@RezaDorrani
@RezaDorrani 4 года назад
Glad you like them!
@afkarerizwan
@afkarerizwan 2 года назад
Thank you. I find your explanations to be precise and very clear. Learned a lot from your videos. Is there a way to convert a normal Gallery with all its functionality to a flexible Gallery? I have a lot of functionality built in a gallery in my application and then ran into the issue of delegation warning of filtering on multiple choice column.
@RezaDorrani
@RezaDorrani 2 года назад
Not that I know of. You would have to rebuild the gallery.
@AzadarInThailand
@AzadarInThailand 2 года назад
@@RezaDorrani ok thanks.
@LauraForcella
@LauraForcella 4 месяца назад
Hi Reza, This is really useful, thanks a lot for sharing these great videos. I have implemented the 'visible' rule explained on part 4 of the tutorial but I am not able to combine it with a single select combo box. Is there a way to do that and combine single select and multiple select combo box to filter gallery?
@RezaDorrani
@RezaDorrani 4 месяца назад
Most welcome! You can combine rules with && and || I do not have a specific video reference on it though. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@teresaagustin5191
@teresaagustin5191 3 года назад
Hi Reza, your videos are really great. I take copious notes every time! I have a gallery with 3 different person columns that my users wish to filter by via drop down controls. I tried creating a collection and adding columns to capture the display names, but it caused issues in the app such as trouble showing newly added items in the gallery. Is there a different approach I could try?
@RezaDorrani
@RezaDorrani 3 года назад
HI Teresa, This video showcases how to filter data based on a user selected in a people picker. You can use the same concept and create 3 options to choose people from and then set those in variables and query your gallery. If you are builidng a dropdown list that contains the people values then make sure your filter criteria for the gallery exactly matches your dropdown values.
@teresaagustin5191
@teresaagustin5191 3 года назад
Reza Dorrani hi Reza, thanks for the reply. Is there a way to make the options dynamic?
@RezaDorrani
@RezaDorrani 3 года назад
Teresa Agustin You mean the people picker? You can drive it from a list.
@teresaagustin5191
@teresaagustin5191 3 года назад
Reza Dorrani Hi Reza, thanks. I’ll keep trying. Have a great day!
@Thaara1424
@Thaara1424 Год назад
Hi Reza ,I have one canvas app in this there is one column named assigned owner and there is one button named my view if I click those buttons it will show the document of current user assigned in gallery ..any idea
@RezaDorrani
@RezaDorrani Год назад
I think that is what the video shows but without any button click.
@siddhkishan
@siddhkishan 9 месяцев назад
Hi Reza, How we can set the flexible High of row in the gallery when row is hide them visible row should reflect in sequence
@RezaDorrani
@RezaDorrani 9 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-44j2VRbdWjk.htmlsi=ncIonpOsDdD-Gq5N
@notonurnelly
@notonurnelly 3 года назад
I revisited these videos this weekend as a refresher on Delegation, thank you for a great series. Would love to see some video's on using Dataverse in Canvas Apps, I am having a little bit of an issue with Filters on Multiselect Combo's in Dataverse, I'm hoping your example here will help. Thanks Reza
@RezaDorrani
@RezaDorrani 3 года назад
Thanks for revisiting these videos. Delegation was and will always be a key aspect of App development. I have a Dataverse video series coming soon (in a few weeks time)
@notonurnelly
@notonurnelly 3 года назад
@@RezaDorrani Excellent my problem is Related Lookup Fields and using them in DropDowns and Combos. Although the Sharepoint section you did using .Value will probably be very useful. I will try tomorrow when I log into work :):)
@RezaDorrani
@RezaDorrani 3 года назад
@@notonurnelly Dataverse is different. Will cover that in my videos.
@mardithpascua8112
@mardithpascua8112 2 года назад
Hi, I am trying to filter from my List where a Assigned To column is set to MultiSelected Column, how can I filter that using the MyPeople collection in your video?
@RezaDorrani
@RezaDorrani 2 года назад
Multi select will run into delegation issues. Check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-44j2VRbdWjk.html
@BiharKiShaan
@BiharKiShaan 2 года назад
Very Useful. I have a gallery with two dropdown which helps me filter data. 1. ‘Review Manager’ which is of type choice where values are added manually. 2. ‘Approve Manager’ of type people/group. Now I wanted to create a filter in such a way that based on current user logged in, it first matches with ‘Review Manager’ if found it will filter the gallery as well as only his name to he displayed in the drop down option so he can’t view somebody’s else, same with ‘Approve Manager’. Can you help please.
@RezaDorrani
@RezaDorrani 2 года назад
I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@glenbertlobino9005
@glenbertlobino9005 Год назад
Hi Reza. May I know if possible to add photos of the students (in my case, employees from Sharepoint List) to this?
@RezaDorrani
@RezaDorrani Год назад
You could do that
@CuteDoggylover58
@CuteDoggylover58 Год назад
Hi Reza, great video - thank you! How can I reverse this formula so that it shows all items where the user's name isn't in a column? I've tried adding ! before my variable (also varUserEmail) but this returns no items (it should return all). This is for a voting app, so I want to make items that users have already voted on hidden.
@RezaDorrani
@RezaDorrani Год назад
I will have to try this out to provide the formula. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com
@CuteDoggylover58
@CuteDoggylover58 Год назад
@@RezaDorrani Thanks for coming back to me, I managed to figure this out, I wrapped it in the 'not' function and it seems to work well!
@kanwalsaini9717
@kanwalsaini9717 3 года назад
Hi, i implement the same approach in my list which has less than 100 records. It worked fine without any warning. But when I tried to implement the same with the variable in my production list which has more than 5k items, the warning does not gets removed even after storing the user (). Email function in variable in on start property of app. My production list has two people column of site admin and site owner respectively.Both are multiselect user type. I want to filter data based on the user who could be part of any of these two people columns.
@RezaDorrani
@RezaDorrani 3 года назад
Your delegation warning may not be related to the User().Email function but some other part of your filter function. It would be difficult to provide direction without looking at your App, delegation warning message and screenshots. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com
@kanwalsaini9717
@kanwalsaini9717 3 года назад
@@RezaDorrani i have posted my query with screenshot on powerusers. Please check and help me. My use case is to help users to showcase the sites of their owners when they login into the app. My list has 70k items
@RezaDorrani
@RezaDorrani 3 года назад
@@kanwalsaini9717 I am busy with work. I go to forums when I am free with work. Your best bet will be to wait for a response or else you may need consulting help.
@ZeyaulHoda
@ZeyaulHoda 4 месяца назад
Does Releasing new changes in PowerApps impact on existing apps (Release Management)
@RezaDorrani
@RezaDorrani 4 месяца назад
No
@joseenriqueapolonio3925
@joseenriqueapolonio3925 4 года назад
Hi Amazing Video. I just have issues. I have a list over 2000 elements and gallery is slow and have blank spaces
@RezaDorrani
@RezaDorrani 4 года назад
Ensure to have the height of the elements in the flexible height gallery set to 0 if the condition is not met.
@headflask
@headflask 3 года назад
Looking to countrows(Gallery1.Allitems) that also doesn't count the !visible 0 height rows. Thoughts? Also thanks for the vids. Usually my go to sub for solutions.
@headflask
@headflask 3 года назад
Think I got it! My totals label outside the gallery has: Sum(GalleryBrowse.AllItems, Value(LabelBrowseVisible.Text)). The LabelBrowseVisible is inside the gallery item with a visible property of: If(Self.Visible, 1, 0). Looks like It all still works after ungrouping. The visible formula "yes" in Concat(... maps to all the labels. Will be interested in performance as I scale up the items.
@RezaDorrani
@RezaDorrani 3 года назад
Great to know you got it to work. Performance can be patchy for multi-select person column if data grows excessively large.
@RaniSingh-om8dp
@RaniSingh-om8dp 3 года назад
@@headflask This din't work for me instead I added one more label name - lblCheck inside the gallery and added a text If(varUserEmail in ThisItem.Approvers.Email,"Yes","No") and then in the total labels Sum( Gallery1.AllItems, lblCheck .Text="Yes" ) so it gave me the result of the total count visible in the gallery.
@nancystevens2443
@nancystevens2443 3 года назад
It is along story, but our Azure email extension is different then our display email. Can you think of anyway for me to get around this. The above video as create as it is, does not work
@RezaDorrani
@RezaDorrani 3 года назад
In that case, you would need to get the email from the Office365Usersconnector.
@aliciarodriguez6818
@aliciarodriguez6818 4 года назад
Hi Reza, thank you for making this video. How can I show all the results from the beginning? and how can I show all the results if I am not filtering for anything? thank you
@ivanzheng8814
@ivanzheng8814 4 года назад
In visible field, you can add a check: if(IsBlank(searchinputtext),true, "yes" in concat.....)
@RezaDorrani
@RezaDorrani 4 года назад
​@@ivanzheng8814 Thanks
@ivanzheng8814
@ivanzheng8814 4 года назад
@@RezaDorrani Thank for the video but I think there is a UI bug using the visible method, the flexible gallery didn't completely hide the unmatch item but leave about 1-2pixel space, as you can see @9:17, the space between each visible item varies. Could you confirm on your ends and let me know if there is a fix. Thanks. Update: I found it was the templatepadding causing this empty spacing.
@RezaDorrani
@RezaDorrani 4 года назад
@@ivanzheng8814 It is indeed the templatepadding
@madhanlakshmanan5113
@madhanlakshmanan5113 Год назад
Hi Reza i need to filter my gallery based on login user comparing with share point list person type multiple select column. If the person type column user email is equal to login user email means i want to filter my gallery with that user, otherwise i will show all records in my gallery,In this video you telling within that sharepoint list column and we can easily hide and show the record with same datasource person type column. But my gallery data scource is not have an person data type column, i use the lookup function and filter the record based on login user. I already tried with add column to add that person data type column to my gallery data source and filter through that column.But the problem is add column limit is only 500?after 500 records how can i retrieved... And my question is With in the filter function add column delegate or not? Is this possible to retreive the person data type column user email to variable in App.Onstart? Kindly help me reza i have struggling with this since last week i didn't get any idea...🥲 Note:Multiple select person type column
@RezaDorrani
@RezaDorrani Год назад
I don’t think that will be delegable. I don’t have a specific video on your scenario. I recommend checking on forums in case someone has done something similar powerusers.microsoft.com
@alessandramacedo5486
@alessandramacedo5486 3 года назад
Great video as always. Congrats. I did the same thing however my hidden items appears as blank spaces in the middle of gallery. If only last item is visible I have to navigate all gallery to find it. How do I fix It?
@RezaDorrani
@RezaDorrani 3 года назад
Trick is to ensure every control inside the flexible height gallery has that visible property set. You cannot miss any control else it will put a blank space.
@alessandramacedo5486
@alessandramacedo5486 3 года назад
@@RezaDorrani I'm using 2 wrap. I could't use flexible gallery ? Is that possible to set the regular gallery to have flexible height?
@RezaDorrani
@RezaDorrani 3 года назад
@@alessandramacedo5486 You would need to use a flexible gallery. No wrapping in flexible gallery.
@2007pradipta
@2007pradipta 4 года назад
Great you touch all important and pain point of Power apps. is there easy option for cascading of drop-down ? again appreciate your effort ..
@RezaDorrani
@RezaDorrani 4 года назад
Cascading requires you to plug in the formulas. There is a depends on property for dropdowns but it is not too intuitive
@RezaDorrani
@RezaDorrani 3 года назад
Hello, for cascading dropdowns there was a blog post by MSFT - powerapps.microsoft.com/en-us/blog/configure-easy-dependent-drop-downs-in-powerapps/
@darshantani898
@darshantani898 Год назад
Hi Reza, I want to display all the items for admins and for non admin users want to show only their items. Is it possible with above solution? I have multi select person column but with the solution mentioned, for even admin also it is showing admin items only not all.
@RezaDorrani
@RezaDorrani Год назад
Possible but I do not have a video reference on it. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@darshantani898
@darshantani898 Год назад
@@RezaDorrani sure Reza, let me go through the link and if you can create one video also, it will be helpful too. Thanks
@RezaDorrani
@RezaDorrani Год назад
@@darshantani898 I make videos when I get many requests on a topic. This is the first request for this topic.
@antonioamicone2172
@antonioamicone2172 2 года назад
as always, great tutorial! While experimenting on this i got an issue with a sharepoint Person Type Column. Inside my Gallery the column is loaded correctly and i can access to its property with ThisItem.ColumnName.email or ThisItem.ColumnName.Picture. When i write the Search function on the Gallery, it won't accept the Person Column as parameter. I tried Search(MyData,SearchBar.Text,ColumnName.DisplayName,"Column1",ColumnName.DisplayName) but it gives me an error. How can i fix it? Thank you so much
@RezaDorrani
@RezaDorrani 2 года назад
Search function does not work with complex type columns + it is not delegable. Check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zxZGaXQlZqo.html
@jaspreetsingharora7070
@jaspreetsingharora7070 7 месяцев назад
Hi Reza, Long time viewer and very helpful videos. How can I filter people in a drop-down based on a condition from another sp list column?? I have list of lots of people in the person column and their job title in another column, and I am trying to filter people based on their job titles. Thanks in advance, and keep doing the good work.
@RezaDorrani
@RezaDorrani 7 месяцев назад
Thanks for watching and liking the videos. I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@jaspreetsingharora7070
@jaspreetsingharora7070 7 месяцев назад
@@RezaDorrani Thanks.
Далее
PowerApps delegation warning CountRows SharePoint
8:01
PowerApps filter gallery by dropdown
28:06
Просмотров 267 тыс.
PowerApps AddColumns ShowColumns
25:13
Просмотров 61 тыс.