web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Items Combobox ForAll ...
Power Apps
Unanswered

Items Combobox ForAll function dont show the empty values

(0) ShareShare
ReportReport
Posted on by 288

Hello all,

 

I'm not sure about how to implement this logic into the ComboBox Items property:

NidjoJohnny22_0-1673962217138.png

basically I'm catching all the items from a column in list, but this list also contains other data and that data(records), has some info that leave the ResponsibleBuyer column empty, and I'm only looking for ResponsibleBuyer column for whole LIST.

 

I'm wondering if there is a way to implement an "if" conditional inside the ForAll() function and if thisrecord.ResponsibleBuyer isBlank(), then "continue" or "skip" or don't show that as an "items" option.

 

NidjoJohnny22_1-1673962361844.png

 

does anybody have experience with this case or similar?

 

thank you in advance! I will google in the meantime to try and find solution. (I'm in a rush to implement this feature)

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @NidjoJohnny22,

     

    If the list is not large (< 500 records or <2000 records depending on settings) you could use this non-delegable option:

     

    Filter(
     L_PurchasingRequest_Reference,
     ResponsibleBuyer <> Blank()
    ).ResponsibleBuyer 

     

     

    I hope this helps!

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @NidjoJohnny22 ,

     

    It sounds like you want to filter out empty items for which you can use the Filter function:

     

     

    Filter(
     L_PurchasingRequest_Reference,
     !IsBlank(ResponsibleBuyer)
    ).ResponsibleBuyer

     

  • NidjoJohnny22 Profile Picture
    288 on at

    Hi guys, I've got a formula that suits me, but I still wonder how to "skip" or "continue" to next item when "if" is false.

     

    My solution:

    Filter(ForAll(L_ListName.ResponsibleBuyer, ThisRecord.ResponsibleBuyer), IsBlank(ThisRecord.DisplayName)=false)

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @NidjoJohnny22 ,

     

    You don't need to use a loop to filter out blank values, so you can lose the ForAll and just use a Filter function as in the above posts.

  • NidjoJohnny22 Profile Picture
    288 on at

    thank you kind people!! this has helped a lot 🙂 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard