How can we automatically populate a parameter allowed values from another view dimension ?

Hello,
is there a way to populate a parameter allowed values from the result of an sql query against another view ?
Thanks in advance