Oversimplification: I am trying to filter a Combo Box based on a category selection in a Radio button. I can get the filtering part working but when I try to update the record (submit form) any syntax I try either results in a network error or doesn't save that field to the SharePoint List. I'm sure it has something to do with how I'm referencing values vs records but I can't figure it out.
SPListA: 'Risk Tracking TEST' Master list of all records where I'm attempting to store the data
Field RiskFactors: multiple select field, with a lookup to SPListB
ID | Date | RiskFactors | Age | FileType |
1 | 2022-02-07 | Alcohol - alcohol abuse by person Crime Victimization - other | 25 | Home Environment |
SPListB: 'RiskFactors' Reference list of all RiskFactors and related RiskCategories
RiskCategory | RiskFactor |
Alcohol | Alcohol - alcohol abuse by person |
Alcohol | Alcohol - alcohol abuse in home |
Crime Vicitimization | Crime Victimization - other |
On the entry form the Risk Category radio is filtering the Risk Factors combobox, and I can select multiple values (see attached screenshot) but the update isn't working. I'm aware I've made this more confusing for myself by having a reference list and field name be the same name.
Risk Factors combo box items:
(Filter(RiskFactors, Radio2.Selected.Value = 'Risk Category'))
Risk Factors data card update (got this from a different post):
ForAll(
DataCardValue21.SelectedItems,
{Value: 'Risk Tracking TEST'.RiskFactors}
)
Not sure which piece(s) I may have wrong.