Hi,
the correct syntax is as follows:
SubPageLink ="No." = FILTER (<>Ref);
but when you are using FILTER, you can not use any variable with it, instead it requires a hardcoded values with <> operator.
In either way you can extend your open page trigger of sub page with the Header page values.
Thanks.