cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
schroeder_sharo
Regular Visitor

Transferring values from one data card field to another data card

Hi,
I have a question about transferring values from one data card field to another. Because I have stored a country list in a sharepoint list and the selected value should be displayed / transferred in another field. With each change the data should be also transferred in the other data card.
Unfortunately I haven't been able to get this function via Defaults

 

Thanks in advance !

 

DataCard1 - Item = Choices([@'High Risk Land - User Data'].Reiseland)

DataCard2 - Defaults = ?? (displaying the same values from DataCard1)

 
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @schroeder_sharo ,

 

You can use:

DataCard2 - DefaultSelectedItems =  Filter(Choices([@'High Risk Land - User Data'].Reiseland), "Value" (or Value) = DataCard1.Selected.Value)

 

Removing the "First" property.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

3 REPLIES 3
renatoromao
Super User
Super User

Hi @schroeder_sharo ,

 

Are the two fields combo box type? And you just need to show the selected value to another field, right?

If yes, follow this step: 

DataCard1 - Items = Choices([@'High Risk Land - User Data'].Reiseland)

DataCard2 - Items = Choices([@'High Risk Land - User Data'].Reiseland)

DataCard2 - DefaultSelectedItems =  First(Filter(Choices([@'High Risk Land - User Data'].Reiseland), "Value" (or Value) = DataCard1.Selected.Value))

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Renato Romão
https://www.linkedin.com/in/renatoromao/

 

Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

Hi @renatoromao , 

thank's a lot, the function works. One field is a combo box and the other a text box. 

But when I select two countries in the combo box (DataCard1), only the last country is taken and unfortunately the first country not  (in DataCard2). 
Do you have an idea how I can select two or more countries?

 

Thank you in advance

Hi @schroeder_sharo ,

 

You can use:

DataCard2 - DefaultSelectedItems =  Filter(Choices([@'High Risk Land - User Data'].Reiseland), "Value" (or Value) = DataCard1.Selected.Value)

 

Removing the "First" property.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,330)