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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get value of Co...
Power Apps
Answered

How to get value of Combo Box allow multiple selection off

(0) ShareShare
ReportReport
Posted on by 143

I keep getting errors trying to replace the drop down I had working in this formula with the combo box.  I set the multiple selections to OFF.  It was previously a drop down but I wanted to be able to search it so I tried to change it to a combo box but I can't get the value to check if it is blank.

 

If(IsBlank(CategoryIdSelected.SelectedText.Value),"NULL", CategoryIdSelected.SelectedText.Value),
If(IsBlank(CharityId.SelectedItems),"NULL", CharityId.SelectedItems),

 

Screenshot 2022-06-01 121132 Combo Box Selected Items.png

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @rbrooks66 

    SelectedItems is a table, so IsEmpty() is appropriate rather then IsBlank()

  • rbrooks66 Profile Picture
    143 on at

    Just replacing IsBlank with IsEmpty still gives an error, but thanks.

  • Verified answer
    WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @rbrooks66 ,

    Try this - it works better on combo boxes to detect that nothing is present in them.

    If(
     Len(CategoryIdSelected.Selected.Value) = 0,
     "NULL", 
     CategoryIdSelected.Selected.Value
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard