I want to do something like
select * from tvfHello(@param) where @param in (Select ID from Users)
You need to use CROSS APPLY to achieve this
select f.* from users u cross apply dbo.tvfHello(u.ID) f