Hi I have a Powerapp connected to a SharePoint List that has multiple choice fields. I want the drop down for a second choice field to only appear if the first drop down is set to a particualr choice. This has been asked multiple times on the forums and people seem to have found the solution but I just can't seem to get it to work.
So i changed the Visable property for the dependant dropdown from True to If(ORCA.Value="Yes",true,false)
The dependant downdown disapears but when i try out the app and change the value fo the first field to Yes the dependant dropdown never reappears. I am not sure what i am doing wrong. Maybe I have the wrong variable names; I really have no idea.
Solved! Go to Solution.
hmmm... weird. Okay... on the right handside click "Unlock to change properties" because that wont hurt...
If you click on the datacard(like you have in the picture), then click on the dropdown box(to select it), on the right it's name should be highlighted - which from here is possibly called "DataCardValue2"...
Try If(DataCardValue2.Selected.Value = "Yes", true, false)
EDIT: also, if you start typing in the visible box and type "DataCardValue2." you should see other reccomendations appear on what DataCardValue2's properties are.
Sean
Hmm, I think your theory is right... perhaps try:
If(ORCA.Selected.Value = "Yes", true, false)
Sean
Hi Sean,
Thanks for the assist. I have tried Selected.Value as well and I couldn't get it to work and it doesn't even seem to recognize it.
Oh! It's probably because that dropdown isn't called ORCA then... (Hense the error message "Invalid name").
If you click on the datacard which it is in, you will see it's probably called Dropdown1 (Unless you have named it to ORCA - then I'm stuck).
So try Dropdown1.Selected.Value
Sean
Sorry I have attached picture of the ORCA field selected. Can you let me know what to name i should use to call the dropdowm. Thanks again in advance
hmmm... weird. Okay... on the right handside click "Unlock to change properties" because that wont hurt...
If you click on the datacard(like you have in the picture), then click on the dropdown box(to select it), on the right it's name should be highlighted - which from here is possibly called "DataCardValue2"...
Try If(DataCardValue2.Selected.Value = "Yes", true, false)
EDIT: also, if you start typing in the visible box and type "DataCardValue2." you should see other reccomendations appear on what DataCardValue2's properties are.
Sean
That did it! Now just need to start getting used to PowerApps.
User | Count |
---|---|
231 | |
109 | |
94 | |
57 | |
29 |
User | Count |
---|---|
291 | |
126 | |
106 | |
62 | |
57 |