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 / "eq null" error in a c...
Power Apps
Suggested Answer

"eq null" error in a combobox

(1) ShareShare
ReportReport
Posted on by 878
    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
Categories:
I have the same question (0)
  • Anchov Profile Picture
    1,986 on at
    You would need to  do something like:
     
    If(!Isblank(ComboBox1_1.Selected.No_), LookUp(ExcelTable; No_ = ComboBox1_1.Selected.No_));
  • Suggested answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    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

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard