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

"eq null" error in a combobox

(1) ShareShare
ReportReport
Posted on by 818
    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,605 Super User 2025 Season 2 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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard