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 / Adding blank value to ...
Power Apps
Unanswered

Adding blank value to dropdown using secondary datasource then setting additonal form fields to that datasource record

(0) ShareShare
ReportReport
Posted on by 85

I would normally set a dropdowns (drpdown1) item property in List1 to a secondary datasource (Ex. List2) and then select the field (description) I want to use for the choices in the dropdown. To set addional form fields based on a choice I would use the following formula in the default property of the form field: drpdown1.Selected.PartNumber. This works great, but I need to add a blank default value for drpdown1 so i used the following formula in the items property

    Ungroup(
       Table(
          {Options: Table({Description: Blank()})},
          {Options: List2.Description}
     ),
        "Options"
    )

 

When I use the above formula it obviously breaks the connection to the other fields using drpdown1.Selected.PartNumber for instance.

I've tried replacing drpdown1 with Options instead and that doesn't work either. I don't know what to use in the additional fields now to grab the lookup values in the default property. Any ideas on how to overcome? 

My main issue is getting those fields to show blank, If I don't the dropdown field uses the first choice in the list and fills the other fields accordingly, which confuses users when they open a record from a list view that clearly shows other values in those columns.

    

Categories:
I have the same question (0)
  • madlad Profile Picture
    2,637 Moderator on at

    If you go into the dropdowns advanced settings, you can set "AllowEmptySelection" to true, and set no default value, this should make it so its blank when the dropdown is created, if that's all you need to achieve?

  • ShawnPelletier Profile Picture
    85 on at

    I tried that and it didn't work. AllowEmptySelection is basically used for forcing user input when set to false according to Microsoft. Thanks though!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard