Having two radio buttons
Test
Sample
In drop down based on selection of radio button , values {choices)should update from the column of table to drop down.
I have tried on change of radio button ,throwing errors
If("Test" in Radio1.Selected.Value, UpdateContext({ActionType:'Test Type'}));
If("Sample" in Radio1.Selected.Value, UpdateContext({ActionType:'Sample Type'}));
Solved! Go to Solution.
Hi @kvss,
Could you please tell me that if you have a Choice or Choices column in the Dataverse table?
Do you want to populate the dropdown control based on the Radio button?
If you have a Choice column, you should modify the formula you set the Update for the data card as below:
DataCardValue4.Selected.value
Hi @kvss ,
Try this
UpdateContext(
{
ActionType:
Switch(
Radio1.Selected.Value,
"Test",
"Test Type",
"Sample",
"Sample Type"
)
}
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
It didnt work.
I have updated with the below:
on dropdown items I have updated with If(ActionType, Choices('Sample Type'),Choices('Test Type')), I am facing issue with update property like Expected option set value with this DataCardValue4.SelectedItems.value
@kvss ,
I was assuming SharePoint here – it is obviously DataVerse. I will leave this to others as I do not use it.
Hi @kvss,
Could you please tell me that if you have a Choice or Choices column in the Dataverse table?
Do you want to populate the dropdown control based on the Radio button?
If you have a Choice column, you should modify the formula you set the Update for the data card as below:
DataCardValue4.Selected.value
Hi @kvss,
Have you solved your problem?
If my solution solved you problem, please consider marking it as answer. If not, please provide more details.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
197 | |
67 | |
46 | |
36 | |
25 |
User | Count |
---|---|
239 | |
108 | |
89 | |
87 | |
66 |