PowerApps Delegation & Gallery Filtering using multi select Choice and Lookup Columns (Part 4)

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

КОМЕНТАРІ • 266

  • @jenniferrasal519
    @jenniferrasal519 5 років тому +7

    This tutorial literally saved me, been puzzling over this for nearly 4 days, managed to combine this with filtering by 3 other comboboxes that had single choice fields in SP, been a nightmare but finally it now works. Big thanks for sharing this.

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

      Thanks for watching and glad it was helpful.

    • @Inovators
      @Inovators 3 роки тому

      I use the same technique to filter data in gallery. My second step is to use the visible data in maps.But when i access this data it shows all the data because in real all the data is in gallery and we just true the visible property for the required rows.
      Can anyone help me how can I get the data which is visible in gallery?

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

      @@RezaDorrani Doesn't work on large datasets, just try it on large list, you will see the problem.
      If you do a filter data and it is deep down in the gallery, you will see blank space on the top.

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

      @@adamk7743 Performance is a concern with this approach for sure.
      There is no workaround for delegation with IN operator in SharePoint.

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

      @@RezaDorrani Yes the UX is also bad with this,
      Does Dataverse also have this problem ? Too lazy to try.
      I need to propose a solution

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

    Reza ... You are truely a Gem of a person... Most of my issues are getting resolved after watching your videos...Many Thanks for uploading these :)

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

    This is really what I needed. An "IN" operator to filter the gallery without the delegation warning. Thank you so much 😀

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

      Please note that this approach works ok for small data sets. For large (10k+), this would cause performance issues.

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

      @@RezaDorrani Thank you for your response. My current requirement involves less than 10k rows. But just for my knowledge is there an alternate way other than using IN operator to filter galleries without a delegation warning?

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

      @@tauseefshk No other option.

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

    Fantastic as always - Thank you, Reza! I've been wrestling with multi-choice filtering for a few days and this video triggered a thought that saved the day! For the sake of sharing, I found I was able to use AddColumns on my SP list following your logic and it seems to be working with the default filtering function, like so: Filter(AddColumns(SOURCE_LIST,"MultiFilter",Concat(ForAll(ComboBox.SelectedItems.Value,If(Value in MULTICHOICE_COLUMN.Value,"yes","no")),Value)),"yes" in MultiFilter)

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

    Such a genius work around for the delegation warning!

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

      Thanks but it does have performance challenges with very large data sets.

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

    The solution is kind of challenging PowerApps out of the box property.
    It is an amazing solution.

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

      Thanks.
      I have a better solution coming next week.

  • @adityabajaj14
    @adityabajaj14 3 роки тому +1

    Thanks sir. It took a while but eventually figured out. Appreciate you taking the time to post the tutorial.

  • @poorneshyh
    @poorneshyh 4 роки тому +1

    Superb bro... Thanks for sharing this knowledgeable. Have been scratching head for over 5 days on how to achieve this! You made it look so simple... You rock 👍👏 Keep going

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

    This had been of a great help for me.. Really appreciate the contents and the way it is explained.. Was struggling a lot in an issue and this video helped me solve that. Jazakallah...

  • @karthikindianchennai
    @karthikindianchennai 3 роки тому +1

    Hi Reza, this is great way to work filter gallery with multichoice values. Thanks a lot

  • @mandijohnson-fisher5370
    @mandijohnson-fisher5370 3 роки тому +1

    Thank you very much for making this series! It was very helpful!

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

      Glad it was useful. Thank you for watching.

  • @darylt11
    @darylt11 3 роки тому +1

    Great video this, gave me some ideas, and more importantly the ability to move forward in a project. Thanks Reza!

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

      Glad to hear that and thanks for watching

  • @BigLeafDropper86
    @BigLeafDropper86 4 роки тому +1

    My man, so good took me ages trying to work this out!!!!!!

  • @jhormangomez2268
    @jhormangomez2268 3 роки тому +1

    You are a genius! LOL that was cool! I was wondering how to filter multiple selections, thank you

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

      Thank you. Let me point to another latest video of mine which has some more cool tricks on multiple gallery filters - ua-cam.com/video/5dSk5iOgT68/v-deo.html

    • @Inovators
      @Inovators 3 роки тому

      I use the same technique to filter data in gallery. My second step is to use the visible data in maps.But when i access this data it shows all the data because in real all the data is in gallery and we just true the visible property for the required rows.
      Can anyone help me how can I get the data which is visible in gallery?

  • @DennisHobmaier
    @DennisHobmaier 4 роки тому +2

    Hi Reza, thank you very much! Very clear and helped me a lot. As you said, you did an OR filter for the gallery and you can do an AND filter as well. How could this look like? Regards, Dennis

    • @DennisHobmaier
      @DennisHobmaier 4 роки тому +3

      Found the solution by using - not sure if this is the way to go but it works:
      If ("yes" in Concat(
      ForAll(
      combo_Characteristics_Adv.SelectedItems.Value,
      If(
      Value in ThisItem.column.Value,
      "yes",
      "no"
      )
      ),
      Value
      ) And Not ("no" in Concat(
      ForAll(
      combo_Characteristics_Adv.SelectedItems.Value,
      If(
      Value in ThisItem.column.Value,
      "yes",
      "no"
      )
      ),
      Value
      )
      )

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

      As long as it works :)

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

      Glad it helped!

    • @justinharville7519
      @justinharville7519 3 роки тому

      @@DennisHobmaier Hey Dennis, is your code here exactly what you put and it didn't throw any errors? Mine is saying only 1 argument is received, when we need 2 or more.

    • @justinharville7519
      @justinharville7519 3 роки тому

      @@RezaDorrani Hi Reza, I tried Dennis's code and it throws an error saying only 1 argument is received, when we need 2 or more. How would we change the filter from "or" condition to "and" when selecting multiple items in the combo-box?

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

    all your videos are great, thanks!!

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

    This is awesome. I got it to work but do you have a tutorial like this with two cascading lookup columns?

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

      I have done 2 videos on cascading dropdowns. Check those (not sure if they include lookup though).

  • @beccadavison6513
    @beccadavison6513 3 роки тому +1

    Thank you! Follow up question please @Reza... is it possible to use Grid style (3 column) Galleries, or is this not possible with multi choice columns because we must chose one of the 3 flexible height gallery options? I would like to create a card view, but can't find one with flexible height.

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

      Flexible height galleries do not have wrap count. So grid styles are not possible.

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

    Hi Reza, thanks for the video! Quick question: I now need a collection of only the visible recordsof the gallery, after applying your Video. Could you help?

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

      I do not have a reference video on this scenario & 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

  • @n2datasolutions443
    @n2datasolutions443 3 роки тому +1

    Reza Dorrani I flipping love you, thanks for this video you just saved my ass!!!!!!! Absolute boss👊🏼👊🏼👊🏼👊🏼

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

    Awesome tutorial! I have one little problem, it is not filtering in all of the results and I don't see any patterns to what it is not pulling in. Any ideas?

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

      Thanks!
      I have not come across this and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Reza, your tutorials are amazing, especially since I am very new at this. I built a responsive card style gallery with a wrap count of screen size. I was able to use this logic to hide the items I did not want to see, but it didn't adjust and just left white space where the empty cards were so the visible cards were all over the place. Am I missing something?

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

      I don’t think this technique will work with wrap count > 1.
      This requires flexible height gallery which does not have wrap count (as far as I know).

  • @kellymay8659
    @kellymay8659 3 роки тому +1

    Thank you so much! I was able to get this working with multiple filters.
    My only issue is that I need it to be exact. As like the example, instead of matching any that has one or the other in the combo box, they both need to be in the array to match. Like if both social studies and math was selected, the array must have them both in order to be visible. How would I go about doing that?

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

      I did that in one of my videos but do not remember where.
      May be - powerusers.microsoft.com/t5/Community-App-Samples/Apply-multiple-filters-to-Power-Apps-Galleries/td-p/774230

  • @ResponsibleXI
    @ResponsibleXI 4 роки тому +1

    Hello Reza - Great fan of your delegation playlist. Thanks a lot for this. I have a question. I am filtering my gallery based on single select drop down column coming from SharePoint list. But I have taken the dropdown values into a collection and displaying the collection as choice values to filter the gallery. Basically I wanted to filter my gallery based on different combinations by one or more choices of my Priority Column (values: High, Medium, Low). I have opted for hide gallery record option as you advised in the video and its working well until I have 0 choices selected. When I dont have a choice selected gallery is going empty but it has to show all records. My items for gallery is just SharePoint list data source. Where do you think am doing wrong?

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

      Add a Check to see if no options are selected (empty) then do not apply the hide logic for your column.

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

      @@RezaDorrani How would you run the check? IfBlank in Visible or in Items?

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

      @@chrisproctor2854 2 years ago :)
      I don’t remember. Items I guess but not sure.

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

      @@RezaDorrani I figured it was worth a shot! Haha, thanks for the suggestion--I'll give it a shot!

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

      @@chrisproctor2854 😆

  • @lakhsmic
    @lakhsmic 11 місяців тому +1

    Hey Reza,
    Thanks for wonderful video, it solved my issue, which I was looking to solve for couple of day.
    But if we need to select all the items in gallery that are visible and generate a excel, could you please show some light on this?
    Thanks in advance.

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

      Large data export to excel ua-cam.com/video/UZdngrwWsqA/v-deo.html

  • @trishsparkman2436
    @trishsparkman2436 3 роки тому +1

    Yet another great video, Reza! Thank you for posting these! This one certainly alleviates some major concerns I've had around delegation. I have this working (sort of). My gallery is only showing the group of labels for the records that match my criteria, but it is still displaying blank rows for the records that don't match. I clearly missed something but have watched several times and can't figure it out. Any thoughts on how I can fix?

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

      Yes, the key is that you need to ensure you are using a flexible height gallery.

    • @trishsparkman2436
      @trishsparkman2436 3 роки тому

      @@RezaDorrani Thanks so much for your reply! I'm definitely using a blank flexible height gallery.(even deleted and re-added a couple of times when I re-watched your video). Seems like the labels' visible is working as expected (since only the items that match my criteria display data on the row), but the gallery line item is not (since those that don't match are displaying a blank row). Do I need to do something to set the height of the gallery item if it doesn't meet the criteria? If so, what property is that?

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

      @@trishsparkman2436 Just flexible height should do the trick. I just built one from scratch to test and it worked. Ensure the visible property of all the controls in the gallery have the formula to show hide.

    • @trishsparkman2436
      @trishsparkman2436 3 роки тому +1

      @@RezaDorrani Ah - you nailed it, Reza! Looks like I mistakenly left my separator out of the group so that was still showing for each record even though my data not visible. Thank you so much...this is truly genius!

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

      @@trishsparkman2436 Thank You. Please remember this is a hack :)

  • @aimeemullins2926
    @aimeemullins2926 4 роки тому +1

    Hi Reza, This was super helpful, I am wondering if this is possible alongside a search function and to include an option for 'All'? instead of combobox? I have a gallery i am trying to do both search and this dropdown selection on :)

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

      Hi Aimee,
      Search is not a delegable function with respect to SharePoint as a data source.

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

    Great video, I feel like I'm able to do much more than I would have expected. I applied this to my new project but I get a strange behavior. When I switch the dropdown value back and forth, the number of records displaying changes. Upon first loading I see everything, but after a few changes, the records all disappear and they re-appear slowly as I keep changing the dropdown value (data values are not changing, especially as I work with a temporary collection loaded prior to navigation to the screen). Any idea what could cause this?

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

      Thanks.
      I have not experienced this issue hence not sure what could the cause be.

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

      I've noticed the same thing! Not sure what's the issue here!

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

    Hi Reza,
    I`m trying to Lookup into multiple rows when email=currentUser.Email, if a Lookup DataType column has any blank rows,
    the thing is, even though they are Blank, it alwasy returns as they are Not (probly because its a lookup datatype)
    *this is one code to get an idea of what I`ve tried:+
    IsBlank(
    LookUp(
    'S2DM - Business User',Title=varUser.Email,'Asset Company'
    ))
    What approach would you take?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @vitormello6100
    @vitormello6100 4 роки тому

    Hi Reza,
    This video helped me a lot. How do I create filter with 2 combobox?
    Should I do the same procedure using the AND condition?

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

      Create your combinations using AND or OR depending upon your use case

  • @ellesavage308
    @ellesavage308 3 роки тому +1

    Thanks so much, this is so helpful! One additional question - how could I adjust this function so that all list items will show if no value is selected in the combobox?

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

      I have a gallery filter video related to combobox where I show all items if empty. Here is the link - ua-cam.com/video/5dSk5iOgT68/v-deo.html

    • @ellesavage308
      @ellesavage308 3 роки тому +1

      @@RezaDorrani Perfect!! Can't thank you enough!!

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

      @@ellesavage308 hey what solution did you find for that pls help

  • @dianasoares7823
    @dianasoares7823 4 роки тому +2

    This video is AMAZING!!!!

  • @SK-uc3du
    @SK-uc3du 4 роки тому +1

    Hi Reza,
    Thanks.. it was really very useful. quick question - I have textbox where i filter results displayed in gallery using expression Filter('All Apps', txtboxSearch.Text in 'Name' || txtboxSearch.Text in 'Description') but its not working due to combobox visible property which I have set as per your video. 'All Apps' is CDS source, so any idea how do i resolve this?

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

      Try breaking your problem into smaller chunks and test it.
      First set visisble property of gallery to true.
      The apply filter to gallery as Filter('All Apps', txtboxSearch.Text in 'Name') and check to see if this works (Note: this will give a delegation warning).
      Check CDS to see how the Name column stores data.
      Once above works then add the entire query to the gallery filter and test.
      Once it works just move the same filter criteria to the visisble property of the gallery

  • @kanishkaroychowdhury4050
    @kanishkaroychowdhury4050 4 роки тому +1

    Hi, great video again... thanks for uploading...concat (thisitem.subject, text (value), ", ") may be the a way to avoid "," in the end

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

      Try powerusers.microsoft.com/t5/Building-Power-Apps/removing-last-character-in-string/td-p/395691

  • @arulanand12
    @arulanand12 4 роки тому +1

    Many thanks. Crystal clear explanation.

  • @Raghavendra8231
    @Raghavendra8231 3 роки тому +1

    Thank you very much for the tutorial it really helped me. Also, can you please help with the formula to include 3 comboboxes in the Visible property. Thanks for your help in advance.

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

      You can just use a combination of || and && functions with the different comboboxes.

  • @richellesinger19
    @richellesinger19 9 місяців тому

    Works great! Thanks Reza!

  • @davidjimenez8952
    @davidjimenez8952 3 роки тому +1

    woooo! top video, this is for Jedi developers.

  • @robertpapancsev8891
    @robertpapancsev8891 4 роки тому +1

    Hi Reza, thank you for sharing this. What if I have a list with thousands or ten thousands of items, will the app get slower to load and hide all items?

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

      A gallery only loads data in batches of 100 (optimized loading) as long as the query is delegable

    • @robertpapancsev8891
      @robertpapancsev8891 4 роки тому

      @@RezaDorrani Great, so it means the first 100 visible items? So if the first 100 is hidden because the filtering rules are not true, than it goes until the 100 visible where the filter is true?

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

      @@robertpapancsev8891 That is correct.
      Performance may not be great if the visible items are 1 in a 100.

  • @ruthannvaldivia291
    @ruthannvaldivia291 3 роки тому

    Thanks, Reza for this video. If I have a data source greater than 2000 and my data row limit is 2000, will the hiding of rows allow me to access the rows over 2000?

  • @tesnim89
    @tesnim89 4 роки тому +1

    Hi Reza, your tutorials have been very helpful. can you plz tell me how do filter 3 Multi select combo box with a button when i click i int i get my the result of filter

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

      Hi, You would need to add all the 3 combox box multi select check logic to show or hide the record.
      You can use a combination of && or || functions based on your use case.
      I show in the following video how to combine multiple filters using && or || - ua-cam.com/video/pn50AKn3Q1Y/v-deo.html

  • @MegaSupertariq
    @MegaSupertariq 4 роки тому

    Good Work Reza, nice trick there on hiding items. Have been Searching for solutions to include all data in a filter rather than only first 500/2000 items and rest all ignored.
    Is there a way to implement search in delegation? I know of a function called StartsWith or something which is delegable but again it would only search strings at the beginning and not on any part of it.

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

      Search is not a delegable function with SharePoint and hence one cannot perform a contains string operation.
      You can apply the same trick as highlighted in this video to hide items by performing the contains query on each row.

  • @mahalakshmi1404
    @mahalakshmi1404 3 роки тому

    Hi thanks for the information..I want to hide the another text input control based the selected value in this checkbox (inside gallery).. what should I writ in the visible property of that text input

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

      I would have to try out your scenario to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza,
    Thanks a lot for your nice vídeos!!.
    I have implemented your paginated grid example and now I need to add this vídeo functionality, si possible to implement the pagination functionality with this type of grid and hidden the lines? Is the pagination going to work?
    Also un my grid I have the functionality that do the first grid column fixed to be able to scroll the lines.
    Thanks in advance

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

      Il be honest, the technique shown in this video is not great on performance.
      If you mix that with the grid (complex code), it will cause a lot of performance challenges.

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

      @@RezaDorrani Thank you very much Reza, you are a crack (The Messi of PowerApss explaining for me).
      Then I assume that the best way is to implement a new specific Custom Page to implement this purpose.

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

      @@ricardounzueta9570 Custom Page?

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

      @@RezaDorrani yes my app is a mix of dataverse and Canvas approach so for this case the data is in a sharepoint lista and I'm implementing the functionality using custom Pagés inside the modelo driven app

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

      @@ricardounzueta9570 Makes sense.

  • @TheFranx3
    @TheFranx3 4 роки тому +3

    Thanks man!! Solve my problem

  • @Ben-ws9pi
    @Ben-ws9pi 4 роки тому +1

    Thank you mate, you got my back.

  • @barbara5644
    @barbara5644 3 роки тому

    Thank you so much for this video it was a great help. One question. The flexible height gallery is leaving different sized spacings between the rows. Do you have any idea why that might be occurring?

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

      Ensure you are setting the gallery height to 0 when no data exists. It is shown as part of this video.

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

      @@RezaDorrani hello Reza, I'm sorry I guess I am missing something. Can you please let me know the exact time frame where you're mentioning about gallery height to 0

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

      @@pkp044 This video was done years ago. I don't remember myself. If you follow all steps it should work. If issue persists, I will recommend posting issue with screenshots on the forums at powerusers.microsoft.com/

  • @pedropereira9322
    @pedropereira9322 5 років тому

    Hello Reza. Your solution worked just fine! However I had problems whenever I reset the combobox. If I reset the combobox the Gallery's items just disappear and then I need to select any of the combobox choices and then unselected it/them to make the Gallery display all values. Do you have any idea why this happens?
    To unselect the values from the combobox should be the same effect as the function of reset the combobox, however with this method it has different outputs and I still haven't figured out why.
    Thank you in advance and keep up the good work!

    • @RezaDorrani
      @RezaDorrani  5 років тому

      The formula for hiding the gallery items expects the combox box to have values. You can add a check in there to see if combo box is empty then true else execute the condition

    • @lisecarivenc1003
      @lisecarivenc1003 4 роки тому

      @@RezaDorrani Thanks a lot for your video, which really helped me, I have the same question as Pedro and I do not find how to make all the item appear when the combo box are empty

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

      ​@@lisecarivenc1003 You can check to see the number of selected items in combo box, If 0 then do not apply the hide logic. To check combobox selected items count use - CountRows(ComboBox1.SelectedItems)

    • @Fernanda-uh7iz
      @Fernanda-uh7iz 3 роки тому

      @@RezaDorrani I have the same issue, the IF function you are suggesting, should go in the visible property along the concat function??

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

      @@Fernanda-uh7iz It is tough to understand here on chat the exact nature of the request. I would recommend you post with screenshots on the forums at powerusers.microsoft.com/

  • @chandrasekharmalla
    @chandrasekharmalla 3 роки тому

    Nice Video and easy to understand. I have small doubt. I have a choice column and have yes and no items so in power app i want search gallery with yes values can you help me with that.

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

      Yes No type column are always a problem.
      Check this - ua-cam.com/video/pn50AKn3Q1Y/v-deo.html

  • @hhmaster789
    @hhmaster789 3 роки тому +1

    thank you, it's very helpful !

  • @hillaryburkett5301
    @hillaryburkett5301 3 роки тому

    how would this work with a series of checkboxes (multiple filters, each with a checkbox in a gallery to show options) that are coming from a sharepoint online doc library with multi-select choice columns?

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

      I would have to try it out with your scenario to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @accordeonist
    @accordeonist 9 місяців тому

    Hi Reza - I recently tried this solution with a blank flexible height gallery and it works great. I have groups all my labels in the gallery - but the gallery is not autohiding unfortunately - the filter works but its not hiding the empty spots.

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

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

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

      Try setting the TemplatePadding to 0, when you hide controls, the row height will be there but the padding still apply, if multiple rows are hidden, you will see lots of white space to accommodate for the padding for each row.

  • @ramprah8910
    @ramprah8910 3 роки тому

    Hi Reza, this is such a simple thing to do in every other system. But I just cannot figure this one out when it comes to Powerapps. I have a Dataverse table and I have a column which is of type Choice - Boolean Yes/No and its called 'isActive'. How do I filter my combobox to show only values of Choice 'Yes'. Its actually not 'Yes' or 'No' in Dataverse but more of 'Allowed' and 'Not Allowed'. I just can't seem to figure out the syntax to filter it off. I have tried Filter(Table, isActive = 1/"Yes"/ "Allowed" etc. Can you please guide me where I have to look as I don't have access to post a question on that Community forum and I have spent 2 hours trying to google everywhere. SP list syntax does not seem to work.

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

      Dataverse choice column is different. You cannot use numbers or strings to compare and filter.
      There will be a special Emum available for your column that you would need to choose the value from.
      I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com
      I will plan to do a video on this soon as many are facing this issue.

    • @ramprah8910
      @ramprah8910 3 роки тому +1

      @@RezaDorrani , Appreciate it! Thanks a lot! I shall post it today!

  • @Leo_Russo
    @Leo_Russo 3 роки тому +1

    This is amazing

  • @GauravSharma-fq6sn
    @GauravSharma-fq6sn 4 роки тому

    What if I want to filter a gallery based on multiple filter columns using mult select combo box and && condition. Can you put up a video on that?

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

      Hi Gaurav
      For that all you need to do is apply the && condition in your creiteria when hiding the gallery item.
      In this video ua-cam.com/video/pn50AKn3Q1Y/v-deo.html I use the && condition to filter the gallery

  • @geralddahl9159
    @geralddahl9159 3 роки тому

    If I use forAll to patch the filtered items will the non visible items also be included? Can I filter the filtered gallery based on the size of the display so that the non-desired records aren’t included? Thank you.

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

      Yes, the non visible items will also be included.
      You would need to apply the non visibility logic to your filter condition for your items in forall. This will result in delegation issues though.

  • @versteegrob
    @versteegrob 4 роки тому

    Thnx for the awesome video, very good explanation :)

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

      Thanks. I have a delegation workarounds video planned for more complex use cases.

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

    I followed your last topic, and it works but when there is nothing selected in the multiselect combobox, the items are not visible. i would like them to show and filter based on the multiselect combobox. is that possible to solve? i can't seem to figure it out. Thanks Reza!

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

      for sharepoint delegation.

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

      Add checks to see if combo box is blank. ua-cam.com/video/5dSk5iOgT68/v-deo.html

  • @TheAmazeer
    @TheAmazeer 5 років тому +1

    Well done dude

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

    Hi Reza - seems flexible height galleries no longer hide gallery sections based on visible property of group inside, resulting in blank sections - negating the benefit of "flexible height." Was there a change that you are aware of?

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

      They do work. You probably have not applied the hide show logic on every control in gallery.

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

      I had to same issue. Once I set the Template Padding property of the gallery to 0 it worked. So happy with the solution. Thanks Reza!

    • @richellesinger19
      @richellesinger19 9 місяців тому

      Thank you!@@contactkpatel

  • @daniellebresich8074
    @daniellebresich8074 3 роки тому

    Hi Reza,
    If I don't have anything selected in the dropdown, nothing shows up in my gallery. Is there a way to have all records show if nothing is selected in the dropdown?

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

      Check ua-cam.com/video/5dSk5iOgT68/v-deo.html

  • @johnjairobolanos2332
    @johnjairobolanos2332 4 роки тому

    Hi, good video. How can I do to filter a data table using multiple combobox options?

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

      Same as the gallery filter options. Just combine your filters with AND's and OR's

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

    Hi Reza, What if I want to apply multiple multiselect filters on the gallery? what is the solution?

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

      I have done 4-5 videos on gallery filters. Check those on my channel.

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

    Hi Reza,
    What when we have two or three multiselection comboboxes to filter our gallery ?

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

      You can combine logic with && and ||
      It gets more complex

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

      @@RezaDorrani we need combine and logic in group visible property ?

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

      @@sridharreddy1607 Yes, if using this video technique. I have shown newer ones as well.

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

      @@RezaDorrani where are those newer ones can you please share the video reference

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

      ​@@RezaDorraniHey any help , can you please share that newer reference videos

  • @anilrambhajan936
    @anilrambhajan936 3 роки тому

    Hi Reza,
    This works perfectly but items in my gallery are "cutting off" on different size monitors. Please help

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

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

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

    Hi Reza, I am getting perfomance issues with this solution, do you know if there is a better way to get this same result?

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

      I have a playlist on delegation. I don’t remember if I did show other approaches. You would need to check the videos in the playlist.

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

      @@RezaDorrani Love the idea of this solution, but I'm also getting significant performance issues with this. Trying to use the Monitor to diagnose but it doesn't present all the info. It did show me 4000+ ForAll() processes (I think 1 per Dataverse table record). I think perhaps I need my .Items to retrieve only required columns and not entire table. Also wondering if the Flexible Height gallery takes time to 'size' each row individually (500 rows initially). I'm assessing this as an alternative to creating a secondary Text column and filtering that (e.g. Multi Choice column is 'Project'; when I create/modify a record via the Form I add data to the ProjectText column using Concat() function. Annoyingly, the Formula column type does not support Concat() so I have to do it via the Form)

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

      @@montalbaconsulting5871 I would recommend avoiding this technique if you are facing issues with it. I did this years ago and have not revisited it since.

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

    Maybe you can help me. I connected a document library to PowerAps and my goal ist it to filter the documents by dropdown fields. I successfully added a dropdown menu named DropACType with all the choices of Aircraft Types from a specific column with the formular Choices('Maintenance Documents'.'A/C Type') - so far so good. But when i try to filter the galery with the formular Filter('Maintenance Documents','A/C Type'.Value = DropACType.Selected.Value) it wont work. In all of your tutorials PowerApps suggest you the .Value command after typing or choosing the column, but that's not the case for me.

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

      As long as “ac type” is a SharePoint choice column it should work. Not sure why it’s causing error / not working in your case.
      I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani Hey Reza, thanks for the quick response! In the meantime i managed to get this formular work with a column where only one selection is possible. Every other column where multiple selections are possible will return a "large data set" error message. I'll try to dig deeper into that issue.

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

      @@herrzettpunkt Thats not an error message - that is a delegation warning. Check my video on combo box control and delegation playlist.

  • @พิชญะชัยชนะ-ค6ต

    Thanks so much hope u happy 😀

  • @skanedes4410
    @skanedes4410 3 роки тому

    I am not sure I understand how this solves the delegation issue. Sure, we don't get the warning anymore, but the “filtered” (visible) data is still limited to the data that is rendered in the gallery, right? For example, if my filter criteria doesn’t match any record in the top 100 items, then I see an empty gallery.

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

      A gallery always loads data in batches of 100. When we show and hide all the items in a flexible height gallery based on any condition, it will still try to show 100 items based on matching criteria and hence it keeps loading further data. This is not the most efficient solution but currently there is no other supported approach with SharePoint as a data source.

    • @skanedes4410
      @skanedes4410 3 роки тому

      Even if it is not efficient, I was hoping that this would work for me. Unfortunately, it doesn't. Using this method, I got three items to show up in the gallery. I know there are more items that match this criteria. Were you able to display an item in the gallery that is not in the top 2000 in the SharePoint List, based on the Multi-Choice column?

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

      @@skanedes4410 It does work. Something might not be right with your formula. Tough to know without looking at your App. I would recommend you post your issue with screenshots on the forums at powerusers.microsoft.com/

  • @dabaquerom
    @dabaquerom 4 роки тому

    Hi Reza, thank you for your help it is amazing
    but I have an issue with the Flexible Gallery, it is not hiding the blank spaces, they keep being there

    • @dabaquerom
      @dabaquerom 4 роки тому

      or hides some of them

    • @dabaquerom
      @dabaquerom 4 роки тому

      the blank spaces were pad=5 accumulated
      now I need to check its performance it is too slow

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

      Hi Daniel
      I will check this later in the week and let u know

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

      Did you also set the height of the controls within the gallery based on a condition.
      Condition would be same as the visible property of the controls.
      Set height to 0 for cases that do not match.

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

      @@RezaDorrani I have a similar issue with a text input box searching a text field. The blank rows still appear. Could I get an example of the formula you would set on the height property of the gallery?

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

    Can I export the data to excel containing only the Visible data in the gallery? or will it also include even the hidden rows?

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

      ua-cam.com/video/tQCBWMR7T64/v-deo.html & ua-cam.com/video/Kupz71dWYyY/v-deo.html
      You can define what to export.

  • @fayefouladi2973
    @fayefouladi2973 7 місяців тому +1

    You are super, thanks

    • @RezaDorrani
      @RezaDorrani  7 місяців тому +1

      Thank You

    • @fayefouladi2973
      @fayefouladi2973 7 місяців тому

      @@RezaDorrani everyone in my team watches your videos.

    • @RezaDorrani
      @RezaDorrani  7 місяців тому +1

      @@fayefouladi2973 Thank You to everyone in your team. Tell your team Hi 👋 from my side

    • @fayefouladi2973
      @fayefouladi2973 7 місяців тому +1

      @@RezaDorrani will do.

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

    I seem to be having an issue with the Gallery not refreshing properly. If I add the same visible code to a label, the appropriate records do return true, however once i apply it to the different controls within the gallery it stops working and displays only one result.

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

      I have not come across this issue hence not sure what would be the reason for it.
      I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    hi reza, what if the combo box is blank? i still want it to show the items. if it is blank, it doesn't show my items.

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

      Add checks to see if combo box is blank. ua-cam.com/video/5dSk5iOgT68/v-deo.html

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

    hey rezza great video but when i have selected no item in my combobox the gallery gets blank which i dont want i want to display all item before filtering them any solution on that??

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

      Check my videos on gallery filtering where I have used combo box. I have done 2-3 videos on it.

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

      @@RezaDorrani i have checked it bit in my case the combo box has multiple choices and your video had only single choice in column so that was the issue how should i handle multiple choice column

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

      I would need some code that says in display of that group u wrote : that display these filtered value else display all images but not sure how to code that

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

      @@shreyasonawane8119 I have done videos with multiple choice as well.

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

      so i need a formula in visible of group that before fetching me yes results I want both yes n no results as well

  • @FCSSOFTWAREDEVELOPMENT
    @FCSSOFTWAREDEVELOPMENT 3 роки тому

    Hello sir how to filter and search dropdown data in power app ? can you help about this issue ?

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

      If you use a combo box instead of a dropdown, it will give you search capabilities.
      It is not an issue. It is just how the controls are designed.
      I will have to look at your App in action with where you are trying to achieve this filtering and searching logic to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @FCSSOFTWAREDEVELOPMENT
      @FCSSOFTWAREDEVELOPMENT 3 роки тому +1

      @@RezaDorrani Super thanks sir, you are great instructor.

    • @FCSSOFTWAREDEVELOPMENT
      @FCSSOFTWAREDEVELOPMENT 3 роки тому

      @@RezaDorrani Hello sir, one more my question if user take image and after take image firstly show message to user save and reject

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

      @@FCSSOFTWAREDEVELOPMENT Sorry, I did not understand your question.
      May be easier to understand with screenshots.
      Post your question with screenshots on the forums at powerusers.microsoft.com/

  • @youngcarlsbad
    @youngcarlsbad 3 роки тому

    I still have gaps in my gallery even when using a flexible height gallery, any idea why?

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

      You need to ensure all the controls within the gallery have their visibility set to false based on the criteria defined.

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

    apparently it's not filtering as if you have more then 2k records you won't be able to filer data from the source therefore some records won't be in a collection.
    ForAll + in operation with delegation warning is fine , at least data will be filtered

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

    The Flexible height gallery is not hiding empty rows for me, does anyone know why is this happening?

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

      Every control within the gallery must have the formula set.
      I will recommend checking that and if it still does not work, then best to post this with screenshots on the forums at powerusers.microsoft.com

  • @shwetanayak979
    @shwetanayak979 3 роки тому

    I tried this multiple tjmes but still i am getting blanks in my flexible height gallery can anyone please suggest what I might be doing wrong

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

      Try and first apply the query to a regular gallery (it will give delegation warning) but this is just to see if you are even getting any results back.

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

    This is fine to filter the gallery BUT I need to allow users to select multipl gallery items to PATCH to a SharePoint list so this does not work for that.

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

      This would not work for that scenario. I have not come across that scenario. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    what if, there is no selection at all?
    for instance show every record then ...

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

      I have done many videos on filtering that showcase that.
      Here is one of them ua-cam.com/video/5dSk5iOgT68/v-deo.html

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

      @@RezaDorrani doing the same thing from the video. when I load the first time, the selection is empty, but there is 1 selected item anyway.

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

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

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

      @@RezaDorrani two things were found,
      1: in condition used "true" instead of true,
      2: Set ComboBox: Default = {View:""}
      :/

  • @Inovators
    @Inovators 3 роки тому

    I use the same technique to filter data in gallery. My second step is to use the visible data in maps.But when i access this data it shows all the data because in real all the data is in gallery and we just true the visible property for the required rows.
    Can anyone help me how can I get the data which is visible in gallery?

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

      Gallery will only load data in batches of 2000. So querying gallery to get information in case of large data sets is not a good option.
      The technique showcased in this video is a hack that works for showcasing data in gallery based on filters. Your use case will not work with this technique.
      I would recommend you post on the forum to see if someone has come across this use case - powerusers.microsoft.com

    • @dru6197
      @dru6197 3 роки тому

      @@RezaDorrani if the data set was > 2000 records, is there a way to filter the visible gallery items? I have a similar use case, but want to email the list of filtered items and I'm not sure if it's possible to filter the output to visible only.

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

      @@dru6197 Yes, if gallery follows delegation.

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

    WARNING - This method does not fix the problem. The goal is to avoid delegation warnings for a specific reason. This is because delegation warnings mean PowerApps cannot filter a list > 2000 items.
    In the shown example, 2000 items will be loaded into PowerApps as gallery items, and only then will the "in" operator be checked to calculate the visible property.
    So the problem remains.

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

      Thanks for the WARNING.
      Delegation is not just about filtering. It can be sorting or simply loading data in collections as well.
      Nothing can solve the delegation problem other than using delegable queries.
      Video simply does not apply any formula on the items property rather shows/hides items.
      So as you scroll down, it will load the data and hide the items based on the condition.

  • @neemamotagi2404
    @neemamotagi2404 3 роки тому

    How to populate the gallery if nothing is selected

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

      Check ua-cam.com/video/5dSk5iOgT68/v-deo.html

    • @neemamotagi2404
      @neemamotagi2404 3 роки тому +1

      @@RezaDorrani thank you..

    • @neemamotagi2404
      @neemamotagi2404 3 роки тому

      Hi reza, I tried, it works completely OK for one screen, the same is not working in other screen its populating the blank spaces too. I tired duplicating screen n using, but didn't work. What would be the problem

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

      @@neemamotagi2404 You need to ensure gallery is flexible height and every control within gallery has visible set to the formula. I'm not sure about copy and paste. May be something got missed.

    • @neemamotagi2404
      @neemamotagi2404 3 роки тому +1

      @@RezaDorrani thq. I'm done with it.

  • @sabrinakraus-zy1dr
    @sabrinakraus-zy1dr Рік тому

    Another awesome Tutorial, thanks!
    There is only one problem, on Start of the app the gallery appears blank, because the group isn't visible. I added following check in the visibility property : If(CountRows(cbEinsatzbereich.SelectedItems)=0, true,
    "yes" in Concat(ForAll (cbEinsatzbereich.SelectedItems.Value, If (Value in ThisItem.Einsatzbereich.Value, "yes", "no")), Value))
    It works - when all optioins are deseclect, it still shows the gallery's items. But not if reset (reset(cbEinsatzbereich)).
    What can I do, does the check has to placed somewhere else? Thanks a lot if sb can help

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

      This video was done years ago. I dont remember running into blank problem on start. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

      @sabrinakraus-zy1dr
      could you solve that problem?

  • @gristy58
    @gristy58 3 роки тому

    Seems to be what i need i just get Name is Invalid when doing my formula did i type it wrong -> Concat(ForAll(ComboBox2.SelectedItems.Value, If(Value in ThisItem.LeadAgency.Value,"yes","no")), Value)

    • @gristy58
      @gristy58 3 роки тому

      nevermind realised it was different i needed to use Title not value

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

      looks like you get it fixed :)

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

      Nice!