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 / Removing Blank values ...
Power Apps
Answered

Removing Blank values in a dropdown

(0) ShareShare
ReportReport
Posted on by 14,605 Super User 2025 Season 2

Hey everybody

 

I have a sharepoint list with a few columns:

 

mmbr1606_0-1705058406173.png

I have a form that is connected to another list where i use this in my Items property:

 

Distinct(
 Filter(
 MyCollection,
 Value(currentEditRole) = 1 ||
 HeadofEntityEmail = User().Email
 ),
 LegalEntity
)

 

 

There are also some entries where the Legal Entity is empty/blank.

 

Can i somehow exclude the blank option from my dropdown choices?

In this screenshot you see, that the second option is the blank value i want to remove:

mmbr1606_1-1705058552206.png

 

Thanks in advance

Categories:
I have the same question (0)
  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    Try adding this to the filter query:

     

    !IsBlank(YOURVALUEHERE)
  • Verified answer
    SpongYe Profile Picture
    5,616 Super User 2025 Season 2 on at

    Hi @mmbr1606 

     

    Adjust your filter to only get records where LegalEntity is not Blank:

    Distinct(
     Filter(
     MyCollection,
     (Value(currentEditRole) = 1 || HeadofEntityEmail = User().Email) && LegalEntity <> Blank()
     ),
     LegalEntity
    )

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    thanks @SpongYe 

     

    that worked perfectly fine.

  • SpongYe Profile Picture
    5,616 Super User 2025 Season 2 on at

    Hi @mmbr1606 

     

    Then you can use this:

    Distinct(
     Filter(
     MyCollection,
     LegalEntity <> Blank()
     ),
     LegalEntity
    )

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