I only want to show projects in a dropdown in which the current user of the app is a part of.
My setup (build in Dataverse):
Table "Projects" where each project are stored, [ProjectName]; [ProjectID]; [Projectmanager]; ect.
Table "User" - standard table with user information
Table "Projectmembers" where each project member in the projects are stored with columns:
- [ProjectID] - lookup to table Projects
- [Projectmember] - lookup to table User
Variable: Set(currentUser,User());
The task is a dropdown or combo box where the user only can select projects of which they are a member of (single select).
The function should be something like, which of course does not work:
Filter(Choices([@Projectmembers].ProjectID).'Project Name',ThisRecord.Projectmember.FullName=currentUser.FullName)
Maybe a completely different setup is needed to make it work? I thought it should be pretty simple, so what am I missing here?


Report
All responses (
Answers (