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 / Dropdown value set aut...
Power Apps
Unanswered

Dropdown value set automatically

(0) ShareShare
ReportReport
Posted on by 180

Hello all,

requesting help for the following;
In Powerapps I have a dropdown which comes from a SharePoint list,
this column in the SharePoint list get its information from another SharePoint list (lookup).

in Powerapps
I want to set the dropdown value according to an other field automatically.
see screenshot (I want the same value as the datacardvalue have)
the value is available in the dropdown but I dont know how to set this correctly.


I have tried several things with the "DefaultSelectedItems" property but nothing works.
for example I've tried {Value: DataCardValue54.Text}
but this only adds a text value in the dropdown and after submitting the form the column is empty.
also setting a variable for the DataCardValue54 but doesnt work.

I also tried with lookup
LookUp('Interne Bestellungen - Bestellpositionen'; 'Bestell ID_Match'.Value = DataCardValue54.Text)

LookUp('Interne Bestellungen - Bestellpositionen'; 'Bestell ID_Match'.Value = ThisItem.Bestell-ID) etc...
but this doesn't work either

can someone help me achieve this?

Thanks in advance
regards

2022-06-22 11_09_51-Power Apps.png
Categories:
I have the same question (0)
  • VeGETzX Profile Picture
    367 on at

    Try put this code into Update property of your Bestell ID_Match_DataCard5

     

    {

    Id: LookUp('Interne Bestellungen - Bestellpositionen'; 'Bestell ID_Match'.Value = DataCardValue54.Text).ID,

    Value: DataCardValue54.Text

    }

     

    Patching lookup column is a bit tricky because you will strictly need to provide a record that have ID and Value as it input.

     

  • Unbihexium Profile Picture
    180 on at

    Hi VeGETzX

    Thank you very much for your reply.

     

    I've tried as you recommanded, I've put the code in the "Update" property of the DataCard "Bestell ID_Match_DataCard5"
    unfortunately no dropdown choice was made and also after submitting the column was empty.

     

    I've also delete the Data Card and added new in case I've messed up the card before, but still get no auto choice in that dropdown.

     

    Thanks again!
    best regards

    2_Power Apps.png

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 368 Super User 2026 Season 1

#1
Kalathiya Profile Picture

Kalathiya 368 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 318 Most Valuable Professional

Last 30 days Overall leaderboard