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 / How can I copy the sel...
Power Apps
Answered

How can I copy the selected name from a dropdown list from one screen to another screen?

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have in Screen1 a dropdown list that has names and I would like to copy the selected name from that dropdown list to a Label or Text Input in Screen 2. What kind of formula should I use?

 

Thank you,

Bogdan

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

    @bogdankorda 

    Set the Text property for a label or the Default property of a textinput box to Dropdown1.Selected.namefield .  As long as you don't reset the Dropdown control, selections are maintained throughout the App no matter which screen you navigate to.  FYI, Dropdown controls select an entire record and you can reference any field in that record, not only the one showing in the window. 

     

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi@bogdankorda,

    Based on the issue that you mentioned, do you want to populate a Label or a TextInput based on the drop down selected?

    Could you please share a bit more about the scenario:

    1. what is the column type corresponding to the column that you fill in the drop down,Text or Choice?
    2. does this drop down control allow multi select?

    1/ If it is a Text type

    Allow multi select_Set Text/Default of the Label/TextInput as below:

    Concat(ComboBox5.SelectedItems.Result,Result,",")​

    Allow single select only_Set Text/Default of the Label/TextInput as below:

    Dropdown1.Selected.Result​

    2/ If it is a Choice type

    Allow multi select_Set Text/Default of the Label/TextInput as below:

    Concat(ComboBox5.SelectedItems.Value,Value,",")​

    Allow single select only_Set Text/Default of the Label/TextInput as below:

    Dropdown1.Selected.Value​

    Hope it could help.

    Regard

  • bogdankorda Profile Picture
    8 on at

    bogdankorda_0-1612295662029.png

    Still the error...

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @bogdankorda 

    Please answer @v-qiaqi-msft 's question.  What type of column are you using for your dropdown control?

    Also is it a Dropdown or Combobox? They look the same but function very differently.

  • bogdankorda Profile Picture
    8 on at

    It is DropDown

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi@bogdankorda,

    Please provide the specific error message and your column type which is the key to this problem.

    And, please check my solution again to define which scenario you are in.

    If the column you fill the Dropdown is a Choice type,

    In my scenario, I set the Items of the Dropdown as below:

    Choices(DataSource.ColumnName)

    Set the Default property of the TextInput as below:

    Dropdown1.Selected.Value​

    If the column you fill the Dropdown is a Text type,

    In my scenario, I set the Items of the Dropdown as below:

    Distinct(DataSource,ColumnName)

    please set the Default property of the TextInput as below:

    Dropdown1.Selected.Result​

    Note that if you set the Dropdown as DataSource.ColumnName directly, you should change Default property as below:

    Dropdown1.Selected.ColumnName

    Hope it helps.

    Regards,

    Qi

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard