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 / How to add a text valu...
Power Apps
Answered

How to add a text value to the drop down values which came from a SharePoint list?

(0) ShareShare
ReportReport
Posted on by 235

Hi,

 

I am using a drop down which values are fed form a Column of a SharePoint list. Within the drop down I use: 

Distinct([@lst_Demo], Countries)

 

Now the values of the drop down are, for example "Germany", "France", "USA", "Denmark".

Now I want to add the text "none" at the first value of the drop down list.

 

I tried the following:

Ungroup(
 Table(
 {DropdownOptions: ["None"]},
 {DropdownOptions: Distinct([@lst_Demo],Countries)}
 ),
 "DropdownOptions"
 )

 

It does not work. If I look at the value properties of the drop down now I have two choices, "value" and "result".

If I set the value property of the drop down to "value" my text "none" is visible at the drop down.

If I set the value property of the drop down to "result" the countries are visible at the drop down.

 

How do I make my drop down show "none" as the first value and then the "countries"?

 

Why do I need this? I want to use the drop down as filter for a gallery.

 

Thanks a lot.

Michael

 

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @MichaGue 

    ClearCollect(itms, {Result:

    "none"});

    Collect(itms:Distinct([@lst_Demo],Countries)

    Put this in the OnVisible property of the screen. Use itms as the dropdown items property.

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
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard