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 / Custom data card as dr...
Power Apps
Answered

Custom data card as dropdown with Default Selected Items

(0) ShareShare
ReportReport
Posted on by 1,119

Dear All,

 

In my sharepoint list i have single line text column as Location.

In the form, i have customized this as "Accepted Values" and made dropdown

In this dropdown i have showing the values from another list.

 

This works well. However, i wanted to show 'Select' as first value in the dropdown.

 

Please give some ideas.

Categories:
I have the same question (0)
  • Silvester. Akakpo Profile Picture
    783 on at

    Hello @venka91 ,
    I think you just need to add "select" as part of the items in the other list where the dropdown values are.
    And you set the dropdown default to "Select".

  • venka91 Profile Picture
    1,119 on at

    I tried with it. But that is not happening.

    I have two issues here.

     

    1. I want to display the drop down on ascending. So when i add "select" in my list, the select is sorted and not as first value in dropdown

    2. If make Default property of my dropdown as 'Select' it is still the showing values from list as the item property has the formula written as Distinct(listname, location)

  • Silvester. Akakpo Profile Picture
    783 on at

    Sure, try this on the DefaultSelectedItems.

    LookUp(Choices([@YourList].Column),Value="SELECT")

      

  • Verified answer
    WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @venka91 ,

    Firstly Items of the (I assume) Combo Box

    Ungroup(
     Table(
     {
     DDItems: 
     Table(
     {Result: "Select"}
     )
     },
     {
     DDItems: 
     Sort(
     Distinct(
     listname,
     location
     ),
     Result
     ).Result
     }
     ),
     "DDItems"
    )

    DefaultSelectedItems

    {Result: "Select"}

    or it you want to display existing record values

    {Result: Coalesce(ThisItem.Location, "Select")}

     

    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.

    Visit my blog Practical Power Apps

  • venka91 Profile Picture
    1,119 on at

    No, my control is drop-down and not combo box. I was trying to set the Default property as "Select' , but still I get values from list as the item peorperty i have the formula as distinct(list name,field name)

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @venka91 ,

    Just put the same formula I posted in the Items - you can also have the Default as 

    Coalsece(ThisItem.location, "Select")

    and it will show either Select or (if not empty) the value currently in the field.

     

    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.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @venka91 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard