Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Set default selected based on another column

(1) ShareShare
ReportReport
Posted on by 12
Hi all,
 
I´ve two dropdowns. 
First one is "Company" (Choice) and the second one "Currency", this column is standard dataverse table.
 
My goal is: If I choose an australian company, the appropriate currency should be choosen in the "Currency" column.
 
My code is: 
If(Text(DataCardValue39.Selected.Value) = "Australian Company",["AUD"],["EUR"])
But nothing happens. Any ideas?
 
Thanks.
 
BR
 
Viktor
 
 
  • CU21081343-9 Profile Picture
    12 on at
    Set default selected based on another column
    Hi,
     
    1. There are no errors in the code.
    2. Yes, all correct.
    There is no "Default" property for the second dropdown but "Default selected items"
     
    You´re right, that are comboboxes.
  • Suggested answer
    Michael E. Gernaey Profile Picture
    44,012 Super User 2025 Season 1 on at
    Set default selected based on another column
    hi
     
    1) Is there an error in the code view?
    2) have you verified, by putting a label somewhere and putting DataCardValue39.Selected.Value in its default property, is actually what you want and that there are no spaces or syntax errors?
     
    And this is in the Default property for the 2nd Dropdown?
     
    Are you sure these are't ComboBoxes?
     
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1