Need to slice table to return first false

I have a table with TV series, season, episodes, titles, and whether watched or not. I would like to write a filter that gives me the 1st not watched episode in a series. I have tried:

TOP(FILTER(Shows,[Watched] <> true),1)

and get the error The expression is valid but its result type 'List' is not one of the expected types: Yes/No

Thank you in advance for any help you can help.

Solved Solved
0 5 145
1 ACCEPTED SOLUTION

Hi ,

By [key column], it means whatever column is marked as key column in your  " Shows" table.

It sounds that [ID] is key column on your table. If so  please try an expression of

[ID] = MINROW("Shows","_ROWNUMBER",AND([Series]=[_THISROW].[Series],[Season]=[_THISROW].[Season],NOT([Watched])))

I am replying from mobile, so coukd not properly see the table image shared by you.

 

View solution in original post

5 REPLIES 5
Top Labels in this Space