Strange one, but I’m hoping opening it up might shed some light.
[Status] & " (" & COUNT(SELECT(People[Status], IN([Status], {[_THISROW].[Status]}))) & ")"
This little snippet displays the page name, with a count of the relevant entries in a separate table (the one you are linked to if you click). For example:
Happy People (5)
In isolation, [_THISROW].[Status] operates correctly, pulling the text through that I’m expecting, in our example it will display “Happy People”.
When I use it inside this IN() function, it doesn’t seem to pull anything.
[The expression is using _THISROW because it is used as a single function on multiple records, and if you click another record you may be looking for “Sad People” instead, and it seems a whole lot neater than writing one function per row.]
Any ideas what’s going on and how I might fix it?