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 / Hiding blanks in look ...
Power Apps
Answered

Hiding blanks in look up combo box in customize form

(0) ShareShare
ReportReport
Posted on by 13

Hello,

 

So I am a complete dummy (worse than a newbie) to PowerApps

I am trying to remove blanks from a drop down box which is linked to a look up column in a Sharepoint list. The problem is that the list has 4 columns, each with a different number of entries (column 1 has 7, column 2 has 12, column 3 has 8 etc). So the look up combo box shows several blanks rows for the shorter columns.

My only workaround would be to make 4 different lists of a single column each. Not very efficient I think.

Is there a formula or property to filter or hide the blank rows in the combo box?

  •        Main Sharepoint List with the look up column is named: FP Q&As23
  • lookup column name in that list is : CB section
  •        Sharepoint list which has the data being looked up is named: QAData
  •        Dropdown box in PowerApps Studio (customize form option) is labeled CBsection
  •        Card (i.e.with label and combo box) = CB section_DataCard1
  •        Combo box = DataCardValue11
  •        The  ‘items’ in Fx when the drop down is selected in PowerApps customize form shows: Choices([@'FP Q&As23'].CBsection)

Thanks

Categories:
I have the same question (0)
  • turnerj3 Profile Picture
    2,039 on at

    @Asanga ,

    Try this and see if it does what you’re looking for.

    !IsBlank(Choices([@'FP Q&As23'].CBsection))

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Asanga,

    I think you should use the FIlter():

    Filter(Choices([@'FP Q&As23'].CBsection),!(Value=""))
  • Asanga Profile Picture
    13 on at

    Hi, this didn’t work, the formula showed an error with the “!”. Thanks for trying.

  • Verified answer
    Asanga Profile Picture
    13 on at

    It worked, thank you. I’ll now try to learn what !(Value=) means and how to use it. 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard