Sorry but at the present time dynamic parameters aren't available - they are under development
but see then link Creating a Dynamic Range “Parameter” in Tableau | Drawing with Numbers
-Jonathan Drummey is a Zen Master and Tableau HOF member - he has presented a workaround to do what yo want
If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution. Thank you.