Group By in Power Apps Gallery with Large SharePoint Lists

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น •

  • @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 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

      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

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว +1

      You're very welcome!

  • @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.

  • @oricchannel2811
    @oricchannel2811 2 ปีที่แล้ว +1

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

  • @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 😆

  • @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

  • @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 ^^

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว

      You're very welcome!

  • @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.

  • @jeffk8900
    @jeffk8900 2 ปีที่แล้ว +1

    Thanks!

  • @nikolemeyer2506
    @nikolemeyer2506 2 ปีที่แล้ว +1

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

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว

      You're most welcome!

  • @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

  • @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)

    • @RezaDorrani
      @RezaDorrani  ปีที่แล้ว

      Thank you for your kind words!

  • @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

  • @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?

  • @hugocychan
    @hugocychan 2 ปีที่แล้ว +1

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

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว

      Glad it was helpful!

  • @vanshen957
    @vanshen957 2 ปีที่แล้ว +1

    You are a genius man. Love your videos!

  • @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

  • @paulburns2814
    @paulburns2814 2 ปีที่แล้ว +1

    Only one thing to say 'Brilliant'

  • @Kimmy-xz3is
    @Kimmy-xz3is 2 ปีที่แล้ว +1

    You’re my Power Apps hero!

  • @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!

  • @luca75tubo
    @luca75tubo 2 ปีที่แล้ว +1

    Great explanation!! Thank you!

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว

      You're most welcome!

  • @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.

  • @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

  • @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 th-cam.com/video/XMopL0r8k3k/w-d-xo.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.

  • @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.

  • @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.

  • @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 :)

  • @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.

  • @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

  • @shashikanthduddukuri6228
    @shashikanthduddukuri6228 2 ปีที่แล้ว +1

    Thanks Reza for the great video.

    • @RezaDorrani
      @RezaDorrani  2 ปีที่แล้ว +1

      Glad you enjoyed 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.

  • @Mattula112
    @Mattula112 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Thanks Matthew.
      Card like designs - th-cam.com/video/bnC8u3gdWss/w-d-xo.html

  • @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.

  • @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 :)

  • @gregoirepesenti
    @gregoirepesenti 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

      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

  • @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.

  • @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.

  • @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

  • @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.

  • @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

  • @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.

  • @sueamin2788
    @sueamin2788 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +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!

  • @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 TH-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.

  • @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.

  • @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.

  • @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.

  • @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/

  • @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

  • @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

  • @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.

  • @BensonRwara
    @BensonRwara 2 ปีที่แล้ว +1

    Great idea.... great video

  • @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?

  • @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

  • @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 th-cam.com/video/AkyW8cWDVoc/w-d-xo.html

  • @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.

  • @sanwoolutolu4123
    @sanwoolutolu4123 2 ปีที่แล้ว +1

    Awesome
    Thanks Reza

  • @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

  • @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

  • @saifkazi8504
    @saifkazi8504 2 ปีที่แล้ว +1

    Great video 🔥

  • @beenayadav4752
    @beenayadav4752 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน +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.

  • @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

  • @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.

  • @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

  • @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.

  • @shadowmage19
    @shadowmage19 หลายเดือนก่อน

    Cant get the choice column to groupby - keeps saying **Expected identifier name**: This error indicates that the function is expecting a valid identifier (like a variable name) but is encountering something else, likely due to the use of `StringLiteral` instead of a direct string name.

    • @RezaDorrani
      @RezaDorrani  หลายเดือนก่อน

      I have not experienced the mentioned issue, hence not sure.
      I will recommend checking or posting your issue on forums in case someone has experienced something similar
      community.powerplatform.com/

    • @austyintaniaa
      @austyintaniaa หลายเดือนก่อน

      same

  • @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 :)

  • @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.
      th-cam.com/users/rezadorranijoin

  • @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) - th-cam.com/video/tPxE_-DcWkg/w-d-xo.html

  • @MrOwenjames24
    @MrOwenjames24 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน +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…

  • @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

  • @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

  • @raselahmed2952
    @raselahmed2952 14 วันที่ผ่านมา

    Hi Mr. Reza
    Thanks for this outstanding work. Since your region field is a choice type column in sharepoint so it works with choice function but if it is a date type column which function will give me the distinct values and i can use that to filter my data source avoiding delegation which result with group by function?
    Regards,
    Rasel

    • @RezaDorrani
      @RezaDorrani  14 วันที่ผ่านมา

      There is no way to do that in power apps. You would probably need to do this in flow but not a good option.

  • @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

  • @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

  • @sureshpeddyreddy8324
    @sureshpeddyreddy8324 ปีที่แล้ว

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

    • @RezaDorrani
      @RezaDorrani  ปีที่แล้ว

      I don’t believe galleries allow nesting to 2 levels

  • @syedazhar4839
    @syedazhar4839 2 ปีที่แล้ว +1

    Best Video...

  • @andreykhazhevskiy3230
    @andreykhazhevskiy3230 3 หลายเดือนก่อน

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

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

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

  • @kalpseditz9535
    @kalpseditz9535 ปีที่แล้ว +1

    You are my Savior. thank God.

  • @sanjaysy
    @sanjaysy 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      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

  • @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 th-cam.com/video/yXvDj60-3YQ/w-d-xo.html

  • @ravindrakotwal7348
    @ravindrakotwal7348 ปีที่แล้ว

    How we can patch grouped data into a list? Just need to patch grope headings, not whole data inside groups.

    • @RezaDorrani
      @RezaDorrani  ปีที่แล้ว

      Group headings are based on data available in data source. Why would you patch them as the value already exists?

  • @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.

  • @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

  • @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.

  • @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

  • @thesebs89
    @thesebs89 7 หลายเดือนก่อน

    I am using dataverse as datasource but when i do i group by the record gets empty besides the column that i grouped by and the row id column. Dose anyone have an answer to this? I am starting to go mad.

    • @RezaDorrani
      @RezaDorrani  7 หลายเดือนก่อน +1

      I will recommend posting your issue on forums in case someone has experienced something similar 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.

  • @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

  • @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

  • @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

  • @swathimgb7295
    @swathimgb7295 6 หลายเดือนก่อน

    Hi Reza, I want to display total of rows based on group by function in gallery like a table in canvas app, how to solve this ?

    • @RezaDorrani
      @RezaDorrani  6 หลายเดือนก่อน

      Counting functions is what you would need to use, however they are not delegable.

    • @swathimgb7295
      @swathimgb7295 6 หลายเดือนก่อน

      ​@@RezaDorrani Is there any example video related to that counting functions plz.

    • @RezaDorrani
      @RezaDorrani  6 หลายเดือนก่อน

      @@swathimgb7295 I dont have one for it

    • @swathimgb7295
      @swathimgb7295 6 หลายเดือนก่อน

      @@RezaDorrani Thank you

    • @swathimgb7295
      @swathimgb7295 6 หลายเดือนก่อน

      @RezaDorrani, Can you please please make a video if possible related to this.