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 / Blank Value in drop do...
Power Apps
Answered

Blank Value in drop down with filter

(0) ShareShare
ReportReport
Posted on by 204

Hi Guys,

 

Currently I have a code that will add a  " " value into my dropdown items. This allows me to show the user a default blank value prior to making a selection.

 

I have the below code in my items property within my dropdown list.

 

 

Sort(Distinct(
 Filter(
 Split(
 Concatenate(
 Concat(Types,Res &","),
 " " &","
 ),"," 
 ),!IsBlank(Result)
 ),
 Result
 ),Result)

 

 

This works fine if you want to show the whole collection in a dropdown list.

 

I want to apply a filter and still keep the blank value.

 

I dont know how to add in the filter within the above code.  This is the filter I want to apply while still adding in the " " value.

 

Sort(Distinct(Filter(Types,Height= "720"),Res),Result)

 

 

Any help is greatly appreciated.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,565 Super User 2026 Season 1 on at

    Hi @christian12 ,

     

    Nesting the data source (Types) in a filter should do the trick:

    Sort(
    	Distinct(
     Filter(
     Split(
     Concatenate(
     Concat(
    						Filter(
    							Types,
    							Height= "720"
    						),
    						Res &","
    					),
     " " &","
     ),
    					"," 
     ),
    				!IsBlank(Result)
     ),
     Result
     ),
    	Result
    )

     

  • WarrenBelz Profile Picture
    154,447 Most Valuable Professional on at

    Hi @christian12 ,

    Try

    Ungroup(
     Table(
     {
     dd: 
     Table(
     {Result: ""}
     )
     },
     {
     dd: 
     Sort(
     Distinct(
     Filter(
     Split(
     Concat(
     Types,
     Res & ","
     ) & " ,",
     ","
     ),
     !IsBlank(Result)
     ),
     Result
     ),
     Result
     ).Result
     }
     ),
     "dd"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • christian12 Profile Picture
    204 on at

    Thank you so much. This worked 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard