cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Gallery and Edit Form

Dears I have a gallery contain all the employees (EmployeesGallery) when click the arrow it tooks him to the next screen which is the details of this employee ,

now in the details (EmployeeProfile) i added two edit forms in a scrollable screen 

the item of the first form(PersonalInfoForm) = EmployeesGallery.Selected

the item of the second form (Filter('Employee-Work-Info',EmployeeW.Email=EmployeesGallery.Selected.'Employee(PersonalInfo)'.Email))

the common field between them EmployeeW and Employee(PersonalInfo) 

 

I got the error "The property expects record values,but this rule produces incompatible table value"

 

Please any help why I got this error?

Filter('Employee-Work-Info',EmployeeW.Email=EmployeesGallery.Selected.'Employee(PersonalInfo)'.Email)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver II
Resolver II

Re: Gallery and Edit Form

Hi @Mays ,

 

The error message tell you that the property want a record because Filter function always return table value (even if there is only one record in the table)

 

You just have to change your Filter() for a LookUp() that can return one record.

 

Hope this will solve your problem.

View solution in original post

2 REPLIES 2
Highlighted
Resolver II
Resolver II

Re: Gallery and Edit Form

Hi @Mays ,

 

The error message tell you that the property want a record because Filter function always return table value (even if there is only one record in the table)

 

You just have to change your Filter() for a LookUp() that can return one record.

 

Hope this will solve your problem.

View solution in original post

Highlighted
Helper I
Helper I

Re: Gallery and Edit Form

Thank you @Thomas_B  it worked ... as I put ".Email" I thought that will bring only one record

 

LookUp('Employee-Work-Info',EmployeeW.Email=EmployeesGallery.Selected.'Employee(PersonalInfo)'.Email)

Appreciate it,

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,226)