Hi All,
I have a sharepoint list connected to my PowerApps form, i would like to hide a sharepoint datacard based on specific value from a sharepoint choice field.
my problem is when i use If(SBU.Value = "MED", true, false) i need to save the form first then it will work.
what i need is to hide\un-hide the data card immediatly once i change the SBU value "while i am still on the edit view"
i have attached a screenshot
thanks!
Solved! Go to Solution.
@RandyHayes Thanks, actually i have tried the following and it's working 🙂
If(DataCardValue8.Selected.Value= "MED", true, false)
Look at your DataCard for SBU, there should be a DataCardValuexx control in it.
Use that control rather than the value of SBU as, like you said, it hasn't been updated yet.
So instead, for your DataCard you want to Hide/Show, set the Visible Property to:
(DataCardValuex.Value="MED")
Just replace the DataCardValuex with the name of the control in your SBU Datacard.
I hope this helps you.
@RandyHayes Thanks, actually i have tried the following and it's working 🙂
If(DataCardValue8.Selected.Value= "MED", true, false)
Yup, same formula - you just don't need all the true false stuff.
Glad you have a solution.
@RandyHayes Correct, i am just learning more about PowerApps 🙂
also Thanks alot Randy for your usual support!
User | Count |
---|---|
260 | |
109 | |
93 | |
57 | |
41 |