
Announcements
Hello
I am passing a value from one screen to another, using Dataverse with relationship as data source, the value am passing is the primary key from the first table to use it in the reference field in the other table, i used Filter function in the DefaultSelectedItems for the combobox, the value passed successfully, but when saving the record it show me this "Value must be a data entity record".
what could be the problem?
Hi @eMTC ,
You have a misunderstanding about relationship. Below official doc for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/data-platform/create-edit-entity-relationships
Table relationships define how ROWS can be related to each other in the database.
So on your end, when saving to data source, you need a whole record in the combo box being selected, not a single value. You need only the filter function to filter the record then set display column and search column for the Combo box.
Combo box
Items: Filter(...)
DisplayFields: SIM_ID
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.