Hi @TxSteve ,
Firstly, created by is a system field, you can not update by yourself or decide whether you update it.
It will automatically generate everytime you create a new record, no matter what data is in the record.
So if you want to update two fields based on one condition, you need to update custom fields, not using the same name with system field.
Could you tell me what control that you use to update the choice column?
I assume that you use a toggle to update.
For example, I create one field named whocreated (person data type), one field named whencreated(date time type)
Set the patch button's OnSelect:
If(toggle1.Value=true,
Patch(listname,Defaults(listname),{'Do you have an Issue to Report':{Value:toggle1.Value},
whocreated:
{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims:"i:0#.f|membership|" & User().Email,
Department:"",
DisplayName:User().FullName,
Email:User().Email,
JobTitle:"",
Picture:""} ,
whencreated:Now()
}
)
)
Best regards,