Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

"eq null" error in a combobox

(1) ShareShare
ReportReport
Posted on by 749
    LookUp(ExcelTable; No_ = ComboBox1_1.Selected.No_);
I have this por DefaultSelectedItems property in order to auto-set whatever corresponds to whatever was selected on that Combobox 1_1.
Problem is, if nothing was selected I will get the dreaded "No_ eq null not supported". Meaning, the combobox cannot be empty.
I need a conditional that only runs that code if the Combobox1_1 is not blank, so that way I can avoid the error.
Any ideas? Thanks in advance
  • Suggested answer
    mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    "eq null" error in a combobox
    hey 
     
    you can try this in the defaultselecteditems:
    If(
        IsBlank(ComboBox1_1.Selected.No_),
        {No_: "Default Value"},  // Substitute "Default Value" with an appropriate default or leave it blank as needed.
        LookUp(ExcelTable, No_ = ComboBox1_1.Selected.No_)
    )
    
    please mark as verified answer if it helped
  • Anchov Profile Picture
    1,984 on at
    "eq null" error in a combobox
    You would need to  do something like:
     
    If(!Isblank(ComboBox1_1.Selected.No_), LookUp(ExcelTable; No_ = ComboBox1_1.Selected.No_));

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard