Filter slice to find record based on values in another table

HCF
New Member

I try to filter records in slice from table Contacts based on values in table Activities with this expression,
In(
Contacts[UniqueID] ,
OrderBy( Select( Activities[Contacts], True ), [LastSelect] )
)
, but it will not let me do that. Please let me know what I am doing wrong?
3X_1_c_1c3e9e54937560b77e1d6e74824c5351cf86ea17.png

Solved Solved
0 6 1,180
1 ACCEPTED SOLUTION

So first recommendation is just make a MAX_Activities slice with a formula similar to this
[CurrentTimeStamp]

=
MAX(
SELECT(
CurrentInvoice[CurrentTimeStamp],
[UserEmail]=USEREMAIL()
)
)

I donโ€™t know how youโ€™re Activities table is set up exactly but basically this slice is to filter down to the row you want just to make it easier to user in many places. From there you would just do IN([UniqueID],ANY(SELECT(MAX_ACTIVITIES[CONTACTS],true))

Slice filters are performed row by row so you donโ€™t need Contacts[UniqueID]. I assume [Contacts] is a list column correct?

(what the heck happened to my text I was just trying to format the code and this happened)

View solution in original post

6 REPLIES 6
Top Labels in this Space