Adding "Related Projects" in 'Staff Detail View' who are involved in it

Hello community,

I am aware that by adding REF_ROWS I can take out the projects lists that staff is involved with. But my query here is, I have a project which is handled by multiple staff. So basically the โ€˜Staffโ€™ column in the โ€˜Projectsโ€™ data table is ENUMLIST.

Now when I am in โ€˜Staff Detailsโ€™, I need the โ€˜Projects Involvedโ€™ list below him/her. The error I am getting when I use REF_Rows is, cannot compare the text with a list. Because the โ€˜Staffโ€™ column in the โ€˜Staffโ€™ table is text type and is a key as well.

Can any senior solve this?

Solved Solved
0 2 89
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

Instead of REF_ROWS(), try this:

FILTER(
  "Projects",
  IN([_THISROW], [Staff])
)

This assumes the Staff column of the Projects table is an EnumList of Ref to Staff.

View solution in original post

2 REPLIES 2

Steve
Platinum 4
Platinum 4

Instead of REF_ROWS(), try this:

FILTER(
  "Projects",
  IN([_THISROW], [Staff])
)

This assumes the Staff column of the Projects table is an EnumList of Ref to Staff.

Smoothโ€ฆ
That solved my issue.
Thanks, Steve.

Top Labels in this Space