Hello everyone,
This is the first time I have posted on Power Apps Community, usually, I find my answers but I'm stuck.
I have two SharePoint lists
- MandatoryTraining
| ID | CourseTitle | CourseDuration |
| 1 | Course1 | 60 |
| 2 | Course2 | 120 |
| 3 | Course3 | 130 |
- EmployeeMandatoryTraining
| EmployeeEmailTraining | MandatoryTrainingID |
| Jone@bla.com | 1 |
| jone@bla.com | 2 |
| steve@bla.com | 1 |
MandatoryTrainingID is a lookup column.
what I'm trying to achieve is for example when Jone enter the app a gallery will show only the training that he has
I tried the below formula, but I'm receiving an error "Power Apps can't convert this number to a record"
Filter([@MandatoryTrainings], ID in Filter([@EmployeeMandatoryTraining],EmployeeEmailTraining.Value=User().Email).MandatoryTrainingID)
any suggestions?
Thank you in advance