So I have a powerapp form with combo box named Division which data comes from a SPO lookup list. That list is Divisions and has 3 columns: ID, Divisions, and DivMgr.
The next field I'm calling DivMgr and it is a single line of text in the SPO list. For the Default for that Text Input field I'm trying the following "If(Division.Selected.Id = Divisions.ID, Divisions.'DivMgr0')"
What magic syntax do I need to find a table record and push that into a text field?
Many thanks for any assistance in advance (with kudos to follow)!
/Robin
Solved! Go to Solution.
... so I ended up using a lookup in a hidden field, then putting that field into my DivMgr field like so:
LookUp(Divisions, Division=Edit_Division.Selected.Value, 'Division Manager'.Email)
Where "Divisions" is a dataset, and "Division" and "Division Manager" are columns in the lookup list, and "Edit_Division" is a combo box name that points to the main SPO list.
Hi @rnorris ,
Try this
Lookup(
Divisions,
ID=ThisItem.ID
).'DivMgr0'
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.
Well that doesn't produce any errors, but the DivMgr text box does not show any value either.
Eventually I'll hide this anyway, cause I just need it populated so I can make use of the dynamic value in the flow that follows.
/Robin
... so I ended up using a lookup in a hidden field, then putting that field into my DivMgr field like so:
LookUp(Divisions, Division=Edit_Division.Selected.Value, 'Division Manager'.Email)
Where "Divisions" is a dataset, and "Division" and "Division Manager" are columns in the lookup list, and "Edit_Division" is a combo box name that points to the main SPO list.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
256 | |
254 | |
83 | |
40 | |
30 |
User | Count |
---|---|
311 | |
265 | |
122 | |
65 | |
48 |