Skip to main content

Notifications

Power Apps Pro Dev & ISV
Suggested answer

Set default selected based on another column

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
    CU21081343-9 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
    FLMike Profile Picture
    FLMike 23,258 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?
     
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,719

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard