Group By in Power Apps Gallery with Large SharePoint Lists

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 293

  • @Fruition10
    @Fruition10 2 роки тому +13

    Reza, you’re my hero! I’m pretty new to Power Apps. This video solved numerous, complex pieces of the puzzle for me that I’ve been seriously struggling with. With the knowledge I’ve gained from you this morning, I’m feeling confident today is the day I will finally publish my first “real” app. You’re a rock star, Reza! Thank you! Thank you! Thank you! 🙏

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      You are most welcome Janet.
      So glad to hear that the video is useful.
      Best of luck with your App.

  • @debarunbanerjee616
    @debarunbanerjee616 2 роки тому +6

    I am a big fan of yours.. You learnt me a lot in last few months. Since I come across your first video, i am a regular visitor and you never disappointed me. So much in depth analysis and explanation. I am sure anyone who will watch your video will become a fan of you. You learnt me a lot in responsive PowerApps design where it was the most frequent consideration for any client. 🤗🥳💐. Take a huge thanks from my side and also from all of them who appreciated my work i applied seeing your videos. 🙏🏻

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Thank You so much for your kind words. Appreciate all the love and support 🙏

  • @cedartree816
    @cedartree816 4 місяці тому +1

    I know this is 2 years old, but its still SPECTACULAR. I just had a use case for exactly this, Datacenters and Servers, and was able to build exactly this in minutes. There's only one requirement I haven't been able to figure out-- how to get the complete count of servers (which will never be more than 500) visible on the datacenter parent independently of scrolling on the child gallery. Yeah, I can add a field with a Countrows/Filter value, but I'm trying to do it with an AddColumn on the parent datacenter source instead of counting/filtering for each row. In any case, thanks so much for this video and the entire channel!

    • @RezaDorrani
      @RezaDorrani  4 місяці тому

      Glad to hear the video is still valid and useful.

  • @Me-of9vf
    @Me-of9vf Рік тому +1

    Reza, my man, you're the father of all powerapps makers.

  • @jray1429
    @jray1429 2 роки тому +1

    Reza, I keep watching this and keep getting more out of it. Thank you!

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Wow! Makes me so happy to hear that the video is being appreciated.

  • @karolinaunderwood1039
    @karolinaunderwood1039 2 роки тому +1

    This is soooo awesome! Thank you so much.. I was scratching my head for months about how to deal with large data set.... I really appreciate this video

  • @TheAsterii
    @TheAsterii 2 роки тому +2

    This is really awesome, thanks for sharing! Liked how you first showed the limitation of Group by regarding delegation and then presented the optimized approach. That´s a real learning curve right there ^^

  • @sosinamezemir2612
    @sosinamezemir2612 2 роки тому +2

    You’re a rock star, Reza! Thank you

  • @zulkamalober181
    @zulkamalober181 2 роки тому +2

    thanks reza. really helps a lot in managing a lot of data filtering in galleries. i'll implement this in my current powerapps project 😆

  • @Bekesam
    @Bekesam 2 роки тому +1

    Well done Reza!! Many thanks for this. It confirmed for me to stick with using Filter() for most scenarios and limit GroupBy(), for specific cases requiring it.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Thanks. Your point is spot on.

  • @nikolemeyer2506
    @nikolemeyer2506 2 роки тому +1

    Brilliant, just what I needed. Thank you, Reza!

  • @CarlosSolisNow
    @CarlosSolisNow 2 роки тому +1

    You scored again! This help me build the last piece for my gamification app for my PowerApps students at the University. Keep up the great work.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Awesome! Thanks for watching and liking the video.

  • @paulburns2814
    @paulburns2814 2 роки тому +1

    Only one thing to say 'Brilliant'

  • @oricchannel2811
    @oricchannel2811 2 роки тому +1

    Another great video. I learned a lot. Won my LIKE. Thanks for sharing.

  • @bhavanaachari9445
    @bhavanaachari9445 Рік тому +1

    Hi Reza, that is amazing! Gallery inside gallery blew my mind

    • @bhavanaachari9445
      @bhavanaachari9445 Рік тому

      I have a doubt… I have power app which is integrated in powerbi. I have used groupby function and it works perfectly in the power apps. But in power Bi, I can’t see the app it shows blank and has an error that says “the first argument to the groupby function cannot be blank”. How can I overcome this error

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Thanks

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @oluwatobiyusuf
    @oluwatobiyusuf 2 роки тому +1

    Thank you Reza. I have a better understanding of how to solve delegation issue now

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Awesome! Thanks for watching.

  • @pranavkahol5925
    @pranavkahol5925 2 роки тому +2

    Thank You Reza for this video!!!
    This video gave me the answers to most of my queries.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +2

      Glad to hear that! Thanks for watching Pranav

  • @jeffk8900
    @jeffk8900 2 роки тому +1

    Thanks!

  • @clay4gli
    @clay4gli 2 роки тому

    Outstanding video - best part was when you showed how to delegate some of the heavy lifting to Sharepoint.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Glad to hear that! Thanks for watching Clay

  • @Kimmy-xz3is
    @Kimmy-xz3is 2 роки тому +1

    You’re my Power Apps hero!

  • @vanshen957
    @vanshen957 2 роки тому +1

    You are a genius man. Love your videos!

  • @spen2431
    @spen2431 2 роки тому +1

    Cant find the Superman emoticon... Amazing work Reza. Thanks 💥💥

  • @chanchaijongpreechaharn2052
    @chanchaijongpreechaharn2052 Рік тому +1

    Your skills are excellent and easy to understand and apply. Thank you (Y)

  • @hugocychan
    @hugocychan 2 роки тому +1

    Thank you Reza. It's a great video to tackle my cases.

  • @uiterlex
    @uiterlex 2 роки тому +1

    Thanks Reza, structured set up and explained simple and accessable for common PA developers. I hope MS will extend the delegation operators in the near future, as the SQL machine is running SharePoint. I miss the 'in' delegation a lot. (came from SQL because of license cost + SharePoint is doing well now). Gr. Lex

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Glad it was helpful! I hope the delegation options become more flexible.

  • @SHAli1474
    @SHAli1474 2 роки тому +1

    Another great video Reza, Thanks

  • @enitesh
    @enitesh 2 роки тому +1

    Wow. Wonderful. Today morning I was thinking if there’s a way to achieve this kind of functionality and this got dropped to my inbox (I have a power automate flow which sends me link of all new videos on your channel every Tuesday ).

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Glad it was helpful and thanks for setting up the flow :)

  • @luca75tubo
    @luca75tubo 2 роки тому +1

    Great explanation!! Thank you!

  • @FarhanKhan-lr4tv
    @FarhanKhan-lr4tv 2 роки тому +1

    You listen your viewer's mind thanks ❤️👍

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Viewers run this channel so I better listen to them :)

  • @Deadpool12353
    @Deadpool12353 2 роки тому +1

    amazing reza, wonderful idea.

  • @mohitoshbiswas4797
    @mohitoshbiswas4797 Рік тому +1

    Thanks Reza!! Wonderful video on the grouping concept with delegation. Your videos are much more in detailed for the benefit of clarity. I would like to ask a query on this. Can we pass this filtered list of records to another power apps gallery on another screen which is setup in Grid view edit? This will give the app a summary page first as Home page then move to next screen for modifications.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Probably possible but not something I have tried.

  • @reganli696
    @reganli696 2 роки тому +1

    Hi Reza, I've been learning so much following your video tutorials. I wonder if you can start by sharing the data files you used in these videos? So we can follow along more easily? It's kind of difficult to keep creating lists without knowing the table schema and a set of make-up data.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      The data files cannot be directly shared as it is a sharepoint list. There are site scripts and site designs in SharePoint which allow exporting of list schema but would require users to have powershell knowledge to import.
      In most of my videos I try to leverage standard list templates so users can reproduce.

  • @Mattula112
    @Mattula112 Рік тому +1

    Hi Reza
    This video and many of your others are perfect. I have watched them over and over again.
    One thing in this one, how did you create that card like experience?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Thanks Matthew.
      Card like designs - ua-cam.com/video/bnC8u3gdWss/v-deo.html

  • @goodguywins
    @goodguywins 2 роки тому +1

    Thanks for another excellent and timely video. I have a question about the filtering you did with large datasets - would indexing the SharePoint list fields you wanted to filter on be beneficial? I'm looking at a list of maybe 50k records and 4-5 fields that might be filtered on. Thanks again.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I would highly recommend indexing.
      Check ua-cam.com/video/AkyW8cWDVoc/v-deo.html

  • @triderw7309
    @triderw7309 2 роки тому +1

    this is amazing! helped me out a lot. thank you Reza! you're an inspiration. I have a question , with this method all the titles on the button shows regardless of weather there are items to display in the galley.is there a way to completely hide the region button if there is nothing to display inside it?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I have not tried this but my guess is You can check count of items in gallery. If 0 then hide.

  • @ArsalanKhan-gq5np
    @ArsalanKhan-gq5np 2 роки тому +1

    Thanks a lot Reza for such a nice tutorials. It is request to you, if you dont mind, would create the Tutorial for Swipe Gesture like deleting and drag and drop ? Much appreciated.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I will add your video request to my backlog but will need a lot more folks requesting this topic to give it a higher priority.
      Meanwhile, I will recommend checking the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @asmi3007
    @asmi3007 2 роки тому

    Reza, hi, thanks for all the videos and they help me in creating the Application ..This is the first time I am making application and most of your videos helped me to accomplish my task. I cannot share the snapshot of the pages i am creating as to seek guidance on them, instead i am sharing details where I want to seek your help. (pls note inthis we have a Admin & user)
    1) Scenario you have a main list wherein you have list of computers with details and in second list you maintain who all employees have requested and returned those computers within deadline or have crossed deadlines, the reminder should pop in to the admin. Also, in this there is one column 'Status ' which is common in both list, if any changes made in 2nd list by admin it should be updated in the second list & make changes in main list also ( I have used the look up function in second list, which takes data from 1st list).
    2) I have a gallary and when i want to make changes in form.. how it can pick up all field which is being selected automatically without using dropdown in case of choice column (say i have Computer Sl. No. which is a choice column), name of Computer etc.
    3) If I have a table and i want to select a particular row and want to make changes in forms can we do that , if so how and how it will get updated to the main table.
    4) Any new computers added by admin how can we show them as 'new' till the user see them ( in this case I have multiple employees who would be accessing the app... so everytime any person log in they should see a new addition and this should stay for a week./month
    5) how to create a dashboard scenario on main page which shows how many people requested for computers, returned computers, and which computer was in more demand (if it is in case of books). Thanks..

    • @asmi3007
      @asmi3007 2 роки тому

      Please note all my data is from Sharepoint list

    • @asmi3007
      @asmi3007 2 роки тому +1

      I have accessed your video ua-cam.com/video/XMopL0r8k3k/v-deo.html and my requirement is similar to this video, since I have basic access to Powerapps I cannot access table and my data is on sharepoint

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Thanks for liking my videos.
      A lot of questions here - sounds more like consulting help :) is needed for your project).
      I will have to look at your App & scenario in action to learn more about it and provide guidance. For each of your questions I probably have 2-3 follow up questions so I can get more clarity.
      I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @asmi3007
      @asmi3007 2 роки тому

      @@RezaDorrani Na na.. not consulting but asking you to create app based on this scenario.. will help me too ;). will check and post at the powerapps forum

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      @@asmi3007 It will not be possible since this is very scenario specific. This sounds more like a project. I make videos when I receive many requests on a particular topic. This is the first one on this topic since it is scenario specific.

  • @AmyCustomer
    @AmyCustomer Рік тому +1

    I found this video yesterday and was able to use many of the concepts to do the same with a nested gallery. I learned so much. Thank you!!! You are an awesome teacher. I have one thing I can't figure out, I want my app to open with all of the nested galleries collapsed. I wouldn't mind the first button to have the shading like it's selected, but I want all nested collapsed upon entry so the user just sees the 4 buttons and has to click one to see the nested gallery. Can you help? Cheers, Sir and thanks in advance.

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Thanks Amy.
      Its been a while since I did this video. I would have to try it out to know the possibilities. I would recommend posting your query on forums at powerusers.microsoft.com

  • @manoplaeli4027
    @manoplaeli4027 2 роки тому +1

    Thank Reza. This is exactly what I am looking for. I am strugle a little bit on hiding the heading with 0 Item. Any suggestion?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I will have to look at your App in action to provide guidance. I will recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com/

  • @brendan1516
    @brendan1516 2 роки тому +1

    Reza, here is an interesting piece of info on medium data sets with many columns.
    I have been doing this grouping using Distinct for the parent gallery and Filter(category=thisitem.result) for the nested gallery. I load the galleries off a local collection that I create when the app starts up. I was optimistic that this GroupBy would improve performance, however I just did some testing on 2 data sets and my load times increased significantly. The screens with 2-3 second load times increase to 5-6 seconds.
    I can see GroupBy being very helpful when I want to have a list of options to change my grouping. However, in my case where the grouping is predetermined, it looks like the distinct/filter combo for the galleries has much better performance. Curious what your thoughts are or if you have used the distinct/filter nested gallery combo before. Thanks!

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Distinct and Group By slow down performance as they are not delegable functions. Have a predetermined grouping list helps. Of course, there would be scenarios where you would want to get distinct, in those cases it would be better letting flow grab those distinct values and then it could be loaded into a collection.

    • @brendan1516
      @brendan1516 2 роки тому +1

      @@RezaDorrani Thanks for the reply and putting together these tutorials! It's great to have many different tools to work with the data depending on the need. This GroupBy tutorial was the first time I had seen this. I generally do optimization testing once all my functionality is in place and I will definitely be putting this function to work!

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@brendan1516 Glad to hear that! Thanks for watching and liking the video.

  • @shashikanthduddukuri6228
    @shashikanthduddukuri6228 2 роки тому +1

    Thanks Reza for the great video.

  • @pawanmishra6549
    @pawanmishra6549 2 роки тому +1

    Thanks Reza👏, very useful & important concepts covered👍

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Glad it was helpful!

    • @pawanmishra6549
      @pawanmishra6549 2 роки тому

      @@RezaDorrani Hi Reza, I was searching for your video where you used 'Timer control' and showed very useful tip, can you kindly help me with the link of that video?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@pawanmishra6549 Timer control for?

  • @tarunamatharu6785
    @tarunamatharu6785 Рік тому +1

    Hi Reza, Very clearly explained, Thanks. I have a question, in a scenario where we have to group by 2 columns, Program and Project I tried using 3 layers of Gallery, level one Program, level two Project then last level Data. I am having issue all projects are reflected in all programs, another issue is how can I make this work when you select project , it should display only that corresponding data?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not tried with 3 layered gallery hence not sure. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @tarunamatharu6785
      @tarunamatharu6785 Рік тому

      @@RezaDorrani just did

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@tarunamatharu6785 Good luck. There are many experts who assist on the forums. I go to forums only in my free time.

  • @khanlee82
    @khanlee82 2 роки тому +1

    Thank you for the video! I have a basic question I think, but I haven’t been able to figure it out :/ If I have items in my choice column that do not have current records, how can I only display the choices from my choice column that have records associated with it? For example, if my choice column is Filled with states, but I only have a few states with records associated, how can I only pull in those records that are associated with a state?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Looks like you need gallery filtering. I have done several videos on those. Check Power Apps playlist on my channel.

  • @MarianaB-w4k
    @MarianaB-w4k Рік тому +1

    thanks for this video. I am trying to create an inpection app with nested galeries and using 'group by' and a choice button for each gallery row. I want to add a submit to sharepoint button to submtit all answers at the same time, but it seems I am having trouble with the nested gallery data. I am trying to use for all and patch. Any suggesiton?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Most welcome!
      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @lihtnes29
    @lihtnes29 2 роки тому +1

    Another great topic! I'm implementing the same area where i have to group based on certain incident types. I have 6 incident types and out of which 3 has got data and those 3 types are grouped properly with count. I also want to bring the other 3 with 0 as a count value..
    Is there a direct way on grouping to do that to have all the items of the group by column and show value 0 for the type which doesn't have value.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I believe possible but I 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

    • @lihtnes29
      @lihtnes29 2 роки тому +1

      @@RezaDorrani - Sure. Thanks for the input. Let me put the query on the community! I can think of an ugly way of having an outside loop of all incident types and create a sub-table, but am sure there would be a direct way of doing it

  • @efrainperaza3754
    @efrainperaza3754 Рік тому +1

    Hey Reza, Thanks again! Just a comment on the GroupBy and Addcolums work around for complex columns 02:31 , It seems that this does not work with multiple choice columns, the only solution I found for this is to concat the selected options in the new added column.

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Multiple choice columns would return an array. Concat would be an approach, but then individual groupings would be a challenge + multi-select columns do not support delegation when filtering.

    • @efrainperaza3754
      @efrainperaza3754 Рік тому +1

      @@RezaDorrani Thanks!

  • @KirahDaw
    @KirahDaw 2 роки тому +1

    Thank you as always Reza!!
    Quick question.... The first solution had a delegation issue, but why can't I see that ⚠️ delegation warning triangle symbol on your app.. I'm wondering how you've been able to ignore and hide it? I would like to be able to hide the triangle when I know it won't cause me an issue...

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Delegation warnings will show when editing the App. A running App will not show any warnings.

  • @saln.4112
    @saln.4112 2 роки тому +1

    Hello Reza. I have a question about your delegation workaround: what if instead of a choice column I want to group my dat by a text column? Function Choices won't work :-(
    Thanks for any pointers you can give me.
    Your solutions are fantastic! I have been learning mostly through UA-cam videos and yours show clean, elegant solutions that overcome limitations that most ppl crash against (i.e. infamous delegation).
    Sal

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Thank You for the feedback about the channel. So glad to hear the content is being appreciated.
      Problem with a text column is that you cannot guarantee a defined list of choices. Its a free text. Ideally you would want a defined list of choices to group on. A choice column is perfect candidate for it.

  • @jbo1253
    @jbo1253 2 роки тому +1

    Another Great Video, Thank you very much! around @14:16 you did a choice formula and used "region" a (lookup column). Is it possible to do this with a people column? also, can the column used to group be dynamic? For example like instead of filter drop down could you have a group by dropdown? Thanks again

    • @RezaDorrani
      @RezaDorrani  2 роки тому +2

      Choice does not work with people column. People column allows any user from organization to be entered. You will need to give the unique values of person column info. The function to use there is Distinct, but it will not be delegable. No way around it.

  • @andreen6845
    @andreen6845 2 роки тому +1

    Awesome vid, thank you. I have a scenario where I have a SharePoint list with multiple records of the same Region, using your example. So when I use your solution I get multiple records in the parent gallery with the same Region. I would like one record in my parent gallery with each distinct Region. Can't figure out a way to make this happen with delegable functions. Any ideas?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      There is no way with delegable functions. You would need your regions to either be in a defined flat list or a choice column.

  • @carlw
    @carlw Рік тому +1

    Really slick stuff Reza thanks!! I'm going to use this technique. I wasn't sure whether to use this or Distinct, but I trust your judgement. One thing; using this technique, are we still able to add and edit the records?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Video is related to gallery control which is for viewing data. You could very well connect the gallery to a form control to allow user to add or edit the data.

    • @carlw
      @carlw Рік тому

      @@RezaDorrani Roger. I'm noticing as you go down the parent list, the resulting children in data are increasingly vertically spaced rather than simple list mode as in the first record. I guess one of those strange microsoft anomalies that eventually prohibits one from going this route or requiring some hefty work around or hack?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      @@carlw Since its nested galleries, work needs to be done for alignment. Did not deep dive on it much as video is focused on the technique to achieve Group By with delegation in check.

    • @carlw
      @carlw Рік тому

      @@RezaDorrani yes I aligned them, they're just a couple of labels. In a small area. I've seen this behaviour in previous years but forgot.
      Definite in crease in space between rows as parent row increases.
      Must be a browser bug. It's at the point you have to clear cache every five minutes in order to make this stuff work RELIABLY.
      Cheers

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@carlw :)

  • @BensonRwara
    @BensonRwara 2 роки тому +1

    Great idea.... great video

  • @beenayadav4752
    @beenayadav4752 Місяць тому

    Thank you Reza. This is awesome. I tried it in my project and it worked like a charm. However, I am not able to use lookup column for group by instead of choice column. Can you please help me with the formula for items property of gallery replacing choices() with lookup column to user table

    • @RezaDorrani
      @RezaDorrani  Місяць тому +1

      If its a lookup column, idea would be to directly get data from that list and show it in the main gallery. I do not have a specific video reference for it and hence dont have any formula handy to share.

  • @NaveenRajSangapillaiMunuswamy
    @NaveenRajSangapillaiMunuswamy Рік тому +1

    Reza, this is brilliant. How do you patch all data to SharePoint. Can you let me know please? I tried the ForAll Function but the data is not patching to sharepoint list.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have done videos on patching bulk data.
      Check those.

  • @srinidhi9998
    @srinidhi9998 Рік тому +1

    Hi Reza, Thankyou for the very informative video. I was trying to achieve something similar but I do not have any choice column in my SharePoint list I only have text columns. In that scenario how can I achieve grouping for large data set along with filters? Can you please help me

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Text columns will run into delegation issues.
      Im not aware of any workarounds for that.

  • @samitbhattacharya2201
    @samitbhattacharya2201 2 роки тому

    Reza ! I am using MS-SQL as a database. Just to clear my understanding, is delegation issue applicable in my case.
    Thanks to the master ☺️ again.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Yes. Check SQL delegation - docs.microsoft.com/en-us/connectors/sql/#power-apps-delegable-functions-and-operations-for-sql-server

  • @danielavasques5952
    @danielavasques5952 Рік тому +1

    Reza, first of all, thank you for one more incredible video! I have a question that you may be able to help me. I have a gallery in power apps and I have a filter in the items property of the gallery in order to filter the gallery by the current user (to only show the relevant information for them). However, I’d also like to add a GroupBy because I want to display the info based on a lookup column that I have. Both formulas work are working perfectly separately, but when I try do combine the filter with the group by to have everything in the items properly simultaneously, I always get errors. What can I do? 🙁

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Most welcome.
      I do not have a video reference on this scenario and would have to try it out to know more about it. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

    • @danielavasques5952
      @danielavasques5952 Рік тому +1

      Thank you reza 🙏🏼

    • @danielavasques5952
      @danielavasques5952 Рік тому

      ​@@RezaDorrani I have another question, sorry. I have this in the items property of my gallery, as you described in your video:
      GroupBy(
      AddColumns('My Info', "CitizenIDText", 'Citizen ID'.Value),
      "CitizenIDText",
      "Data"
      )
      In this 'MyInfo' list I have another column named "Short Description" which has 5 uses cases and another column named "Environent" with 3 options. As each Short Description is applied to each Environment, each Short Description is repeated 3 times for each citizen ID. The thing is that I don't want to repeat the Short Description 3 times, I'd like to only show it 1 time and then ahead have the text label for the 3 environments. Do you have any tip?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@danielavasques5952 I would have to try this out. I recommend to post your query with screenshots on the forums

  • @kalpseditz9535
    @kalpseditz9535 Рік тому +1

    You are my Savior. thank God.

  • @madelinemoisio7418
    @madelinemoisio7418 Рік тому

    Hi Reza, thank you for this helpful video! Is there a way to insert a button that will reset the selections of the gallery? Using your example - I'm wondering if you can have a button that will collapse the North, South, East, and West nested galleries.
    I've been running into errors around the reset function needs to be within the form or gallery.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Not sure about this.
      I would recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @sanwoolutolu4123
    @sanwoolutolu4123 2 роки тому +1

    Awesome
    Thanks Reza

  • @sueamin2788
    @sueamin2788 Рік тому

    Thank you Reza! Very well presented and very useful. Thank you for all that you do for us. A Q.: Can I group by "Created By"? If so, how?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Wont work if data set is large.
      You could use distinct function to get it.

    • @sueamin2788
      @sueamin2788 Рік тому

      @@RezaDorrani It worked with Filter.! Thank you!

  • @rubenu5157
    @rubenu5157 2 роки тому +1

    Great videos as always. Reza, do you have any online PowerApps classes that I can follow step by step? Thanks

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Connect with me on my email reza.dorrani@outlook.com for details on online training.
      I am working on an online training portal.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Check channel memberships. I have gone live with a training tier that you can sign up for now.
      ua-cam.com/users/rezadorranijoin

  • @saifkazi8504
    @saifkazi8504 2 роки тому +1

    Great video 🔥

  • @2007pradipta
    @2007pradipta 2 роки тому +1

    Thanks for the grt video Reza 😊 ... I want to Collapse/Expand the selected Region. currently it only Expand and if select different Region then only the other one Expand. so I want if click once it should Expand and if I click again it should Collapse same..

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I do not have a video reference on expand collapse 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

    • @2007pradipta
      @2007pradipta 2 роки тому

      @@RezaDorrani thanks for quick response..i am asking same video at 09:13 where you click North it Expand. I want if click it again it should Collapse

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@2007pradipta That I use the show hide logic. The video is not built for expand and collapse. You would need to set variables to track the state and accordingly expand and collapse.

    • @Karthikeyan-lc7vt
      @Karthikeyan-lc7vt 2 роки тому

      @@2007pradipta do u find any reference video link for expand and collapse pls share me

    • @2007pradipta
      @2007pradipta 2 роки тому

      @@Karthikeyan-lc7vt will update you once get any help

  • @sanjaysy
    @sanjaysy 10 місяців тому

    Hi, I learned a lot watching your videos. And built a timesheet app. Now I'm looking for a nested gallery. where trying to use 2 lists linked by lookup value. Do you have a video for this as well?

    • @RezaDorrani
      @RezaDorrani  10 місяців тому

      Great!
      I do not have a video reference on this scenario. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @assyabassya007
    @assyabassya007 2 роки тому +1

    Hi, Reza, thank you very much for one more inspirational and great video!
    I tried it and the delegation works lovely BUT I decided to take it a step further and I added "Blank vertical' as Nested Gallery, instead of 'Blank flexible height'. On the line level of the Nested Gallery added an 'Edit' icon and also a new screen with Edit From. But I got stuck how to set Items = ... in the Edit Form.
    Any suggestions how to get out of that or you have another a video I can watch?
    Appreciating your help a lot!
    PowerPlatform learning newbie,
    Assya

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      I will have to look at your App in action or try out your scenario to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @assyabassya007
      @assyabassya007 2 роки тому +1

      @@RezaDorrani In between I solved my problem with VarID, Text Input and Patch, so for now can live without an Edit Form :)

  • @tonyon9497
    @tonyon9497 Рік тому

    Thanks Reza,
    I was also wondering if there's any option to get any of the used codes for the group-by as there weren't displayed properly on my device while watching your video.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      The video is all I have. I have not run into any issues with this one I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @derekgray3019
    @derekgray3019 2 роки тому +1

    Brilliant Rezza, I've just created a GroupedBy flexible height gallery with a nested flexible height gallery to show some KPIs from this tutorial. I am trying to get the nested gallery to be collapsed, then open/closed OnSelect of the button, but unable to get it to work. Do you have a solution for that?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @derekgray3019
      @derekgray3019 2 роки тому +1

      @@RezaDorrani thank you Rezza, I’ll post details in a few days time in the community forum.

  • @fadiahdab
    @fadiahdab 2 роки тому +1

    Thank you so much , impressive as usual ,i still have something can't figure out till this moment which is getting the number of records or the sum of intended colum , without scrolling the whole gallery ☹️

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Video explains why you should not (will not) get total count for large result sets. Count, Sum etc. are not delegable functions.

    • @fadiahdab
      @fadiahdab 2 роки тому

      @@RezaDorrani is there anyway to get the total and sum, I am just wondering

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@fadiahdab Via flow. Check ua-cam.com/video/yXvDj60-3YQ/v-deo.html

  • @tonyon9497
    @tonyon9497 Рік тому

    Kind of wondering if you had created other galleries under different screen names as of -"Group By Choice, Year, Standard prep", etc, which has Gallery1_3, Gallery3_3, etc or were they connected together. My guess is that they're disconnected with each other unless I missed such videos on those, since you reference some of them in the countRows func

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Can you point to the timing in the video when this is shown?

  • @syedazhar4839
    @syedazhar4839 2 роки тому +1

    Best Video...

  • @marney720
    @marney720 2 роки тому

    Hey Reza, @14.21 when you change the text to Choices, what would you do if its a Person column instead please? Thank you!

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Choices are a fixed set of choices. Person type column is not fixed. Key to Group By with delegation is having a fixed set of choices.
      You could run a Distinct function on your Person type column but it will not be delegable.

  • @MrOwenjames24
    @MrOwenjames24 6 місяців тому

    Thanks Reza, very helpful - for my app I just have headings instead of buttons. How would I go about hiding the headings where no items exist? For example, if your North category had no items in the sub-gallery, how would you hide that from the view?

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      For that you would need to write logic to check if items do exist in gallery within and accordingly show and hide. Not something I have tried though hence can only guide.

    • @MrOwenjames24
      @MrOwenjames24 6 місяців тому +1

      @@RezaDorrani I’ve got it working on the visible property, but now the gallery just has a big gap. Going to maybe try sorting the gallery by number of items so empty nested galleries are at the bottom…

  • @gregoirepesenti
    @gregoirepesenti 4 місяці тому

    Hi reza, how is supposed to be set your choice column in SP ? because with your first function
    GroupBy(AddColumns('BDD INSTANT T','NatureStockTxt','Nature du stock'.Value),'NatureStockTxt','data')
    I only got 1 Data [Table] row, while 4 should have been populated
    thanks

    • @RezaDorrani
      @RezaDorrani  4 місяці тому

      Im not sure why you are not getting the results.
      I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @dandrem.4074
    @dandrem.4074 Рік тому +1

    I have to say this is pretty nice. Can it be done on an edit form?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Edit form works with a single item. A gallery is a collection of data on which group by is being performed.

    • @dandrem.4074
      @dandrem.4074 Рік тому

      @@RezaDorrani Would you happen to have a video for that? 😅

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@dandrem.4074 I do not

    • @dandrem.4074
      @dandrem.4074 Рік тому

      @@RezaDorrani awwww

  • @genovjillella3602
    @genovjillella3602 2 роки тому

    Great video, I need to use groupby to summarize data by group and show totals in main group and details in a sub gallery with large dataset in dataverse and avoid delegation issues. In your video you started with groupby and then went away from it. How can I code groupby in items to avoid delegation. can I filter dataset first then use groupby? How would you code that example.
    Thanks

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      GroupBy is not a delegable function. That is reason why I showcased another technique to obtain a similar output.

    • @genovjillella3602
      @genovjillella3602 2 роки тому

      How do summarize by group with your technique. I am trying to filter by from - to date first then I was trying to groupby employee and summarize each employee's time entered. Any ideas would be great. How would the code look like
      Thanks, I appreciate

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@genovjillella3602 Key would be to have a predetermined set of groupings maintained separately. Example choices of a choice column or your employee list. That you can query directly (without group by) and use technique shown in video.
      There is no way to use groupby function and make it delegable.

    • @genovjillella3602
      @genovjillella3602 2 роки тому

      I'm not using a choices column. I'm using name column. I'm getting error "name isn't valid"
      items: Choices(TimeData.TM_Employee)
      TM_Employee isn't a choices column its a text column
      how do I code this to get the desired results

    • @genovjillella3602
      @genovjillella3602 2 роки тому

      additional info
      I'm filtering Time data entries first
      Filter(
      TimeDataEntries,
      TM_Date >= DatePicker_start_4.SelectedDate And TM_Date

  • @mardithpascua8112
    @mardithpascua8112 Рік тому

    Hi Reza, can we group by "Week" the data from sharepoint? Like for example Time Tracking Log App

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Possible but that would involve calculation for week which would result in delegation warnings

  • @rosianecarvalho7328
    @rosianecarvalho7328 8 місяців тому +1

    Thankssssss!!

  • @carlw
    @carlw Рік тому

    Trying this out, works well. Can the RegionText be concatenated and sorted together with an order field? e.g.: (1) North, (2) South, (3) West, (4) East for example given order is a field in the list.

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      You could drive Regions data from a list which has named of Regions and Order.
      Gallery 1 items property would be - Sort(Regions,Order,Descending) or Ascending

    • @carlw
      @carlw Рік тому +1

      @@RezaDorrani tx, I'll try that. I also had flow merge them into a new text field, (order) title

  • @sureshpeddyreddy8324
    @sureshpeddyreddy8324 11 місяців тому

    Can we add one more nested gallery or can we implement group of two column and their hyperlinks as third level

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      I don’t believe galleries allow nesting to 2 levels

  • @Hitesh222-c7n
    @Hitesh222-c7n Рік тому

    after grouping patch button not working , it is working only when i removed ForAll ( Gallery1.Allitems ) for only few controls like title & Date it patching.any correction required in my code?
    ForAll(
    Gallery1.AllItems,
    Patch(
    ABC,
    Defaults(ABC),
    {
    Title: name.Text,
    Date: DatePicker1.SelectedDate,
    Question: QLab.Text,
    Answers: Radio1.Selected.Option
    }
    )
    )

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I cannot help fix issue by looking at code here on chat.
      Best place to post issues with screenshots is the forums. There are many experts on forums who assist in their free time.
      powerusers.microsoft.com

  • @usiripellishalomji9615
    @usiripellishalomji9615 2 роки тому

    Hi Reza, Can we display Groupby data inside the nested gallery in single string seperated by commas, for eg: In South we have Title column in nested gallery ,Can we display all of the Title names in a single Label seperated by commas? If so could you please tell me how to do it

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      My guess would be Yes. For the how - I would have to try it out to provide guidance.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @marney720
    @marney720 2 роки тому

    hey Reza, @19.21 when you are applying the filter, is there a way to make the result come to the top of the gallery? In your app, it's showing "no items" so you would have to click on South, East, West to find the results in Class 1.
    Thanks so much Reza,

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      For that you would have to check the count of items in each gallery which would run into a delegation issue again since Count is not delegable.

    • @marney720
      @marney720 2 роки тому

      @@RezaDorrani thanks for the reply Reza! I'm not too worried about the delegation issue as my list won't be that big but if you have any tips on how to get the result to the top of the gallery that would be amazing! thanks again

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      @@marney720 You would need to define a custom sort order logic for the top gallery.
      Order it based on count of number of items within them. I would have to try it out to provide the steps. I would recommend checking on forums in case someone has done something similar powerusers.microsoft.com

  • @stanleym69
    @stanleym69 2 роки тому

    Hey Reza, How would you tackle a scenario where the choice column allow multiselect? It makes the choice column a table, I have tried to the 'in' operator but that or ungroup isn't delagable. Thanks Sam

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      In is not delegable. You will run into delegation issues with multi select choice columns.

  • @AnilKumar-ut2bi
    @AnilKumar-ut2bi 2 роки тому

    Hi Reza Thanks for sharing nice video... Can you make a video How to check/ create a PIM access through PowerApps.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      I will add this request to my backlog but will need a lot more folks requesting this topic to give it a higher priority.
      Meanwhile, I will recommend checking the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @sanjaypradhan8168
    @sanjaypradhan8168 2 роки тому

    Hi Reza, Good Morning, Flexible Gallary not showing all items though I scroll till last after expand. Any suggestion please?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @tonyon9497
    @tonyon9497 Рік тому +1

    Thanks Again Reza,
    Would you by any chance have a Udemy training course, where you may have elaborated on the above training on "Group By", "Sorting", etc, delegations

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I do not have any courses on Udemy.

    • @tonyon9497
      @tonyon9497 Рік тому +1

      @@RezaDorrani I love your training and was wondering if you do have or host any online training program

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@tonyon9497 I do plan on live training via channel memberships.
      Currently, channel members get a quarterly office hours session

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Check channel memberships. I have gone live with a training tier that you can sign up for now.
      ua-cam.com/users/rezadorranijoin

  • @jasona7029
    @jasona7029 2 роки тому

    Can you group by based on lookup or relationship from different Sharepoint list?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Key will be to get your list of choices from lookup list similar to what was showcased in video for choice column.

  • @mardithpascua8112
    @mardithpascua8112 Рік тому

    Is it possible to us 2 level group by? Example: raw data is: Employee Name, Emp Log In, Emp Log Out, TaskName, Duration -
    I would want to first Group it by Per Empoyee Name then each Employee name would have grouped of Distinct or Unique Taskname with their total duration?
    Hope you could notice this. Thank you!

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Possible but not something I have done or have a video reference for. I recommend checking on forums in case someone has done something similar powerusers.microsoft.com

  • @adelinabordeianu6509
    @adelinabordeianu6509 Рік тому

    Hi really great video and really helpful. I tried to recreate this on my own but it seems like still I cannot cross the 2000 items limit. Am I doing something wrong?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @AlexZazwirsky
    @AlexZazwirsky Рік тому

    Hello, is it possible to add a bulk edit within a group checkbox?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not tried this so not sure

    • @AlexZazwirsky
      @AlexZazwirsky Рік тому

      @RezaDorrani could you recommend a video of yours for me? I am looking to make an app that allows users to input retain/dispose on an inventory list saved as a sharepoint list. The list has 30k rows.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@AlexZazwirsky I do not have a reference for this.

  • @pedrosanteloy
    @pedrosanteloy 2 роки тому

    What if the source was an Azure SQL data table? What could be an option for Choices function to handle with delegation?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      You would need to find a way to get the group by headings. It could be a view in sql that has the distinct group by headings.
      Once you have that, the pattern would be similar to the one showcased in the video.

  • @radhikap3322
    @radhikap3322 2 роки тому

    Hi do you have an example of one ->many->many like one teacher can teach multiple scujects and each subject is enrolled by may students in canvas app using gallery if possible

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I do not have a video reference on this scenario. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @sandy-rj8wu
    @sandy-rj8wu 5 місяців тому

    Hi Reza, I am looking for solution to get random people pair up for coffee sessions. Is there any video covering shuffle or random selection.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I do not have a video reference on that scenario.
      I will recommend checking on forums in case someone has done something similar powerusers.microsoft.com

  • @poojashetty2195
    @poojashetty2195 2 роки тому

    Hi Reza,
    Do you have any idea how we can get more than 1000 rows of data in powerapp when using powerbi as a datasource?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      That is a limit and cannot be changed. There is no way around it.

    • @poojashetty2195
      @poojashetty2195 2 роки тому +1

      Thanks for the reply @Reza Dorrani

  • @traidang1
    @traidang1 2 роки тому

    Thanks, very nice work, but I'm still can't figure out how button link to detail screen, i.e Gallery.Selected in Item property in Detail screen because GroupBy uses "Data"

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @rhydonplay9190
    @rhydonplay9190 Рік тому

    I have a 8000+ records in a sharepoint list, with documents that people need to sign, but, its only loading 2000 as the limit, I dont have any Choices column, can this work with a Person column? Group by Person documents related? To show documents that belongs to current user only?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Person type column is delegable.
      A very old video but proves the delegation concept for person column (single select) - ua-cam.com/video/tPxE_-DcWkg/v-deo.html

  • @mudassirsyedrashidali9787
    @mudassirsyedrashidali9787 2 роки тому

    Elon Musk of Power Platform strikes again:)

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Most of my videos are based on viewer suggestions. All credit goes to them.

  • @andreykhazhevskiy3230
    @andreykhazhevskiy3230 2 місяці тому

    Ok, so basically you do 4 API calls instead 1 and use Filter as deligable function?

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      1 api call is not delegable. By breaking it up, you get the delegable option. Assuming you have limited number of choices.