The last records from another table with conditions

HI, 

I have tried to get the last record from another table using MAXROW().

I have this expression:

 

Select(table[people],AND([position]='Manager',[project]=[_THISROW].[project]))

 

The problem is that some projects have two or more managers because they can be very long, and I need to know who the final manager is

thanks

 

Solved Solved
0 1 134
1 ACCEPTED SOLUTION

I found the solution

LOOKUP(
MAX(
Select(table[_ROWNUMBER],AND([position]='manager',[project]=[_THISROW].[project]))
),
"table",
"_ROWNUMBER",
"people"
)

 

View solution in original post

1 REPLY 1

I found the solution

LOOKUP(
MAX(
Select(table[_ROWNUMBER],AND([position]='manager',[project]=[_THISROW].[project]))
),
"table",
"_ROWNUMBER",
"people"
)

 

Top Labels in this Space