0

I want to filter gallery with status = in progress or completed and created by me , below formula working for status but unable to add created by me filter

Sort(Filter("SPList", 'Status'.Value= "in progress"||'Status'.Value="completed "),Created,Descending)

1 Answer 1

0

Below code worked for me. Where CurrentUser is variable storing the Email of current user:

UpdateContext({ CurrentUser: User().Email })
Sort(Filter("SPList", 'Status'.Value = "in progress" || 'Status'.Value = "completed" && 'Created By'.Email = CurrentUser), Created, Descending)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.