Sorry but that is not the way parameters work - but there is a way to work around the issues using a combination of a parameter and filter
Parameters are single valued ways that a user can select from a predefined list - the parameter value remains constant until changed by the user - that said the parameter doesn't do anything until it is included in a formula
see the attached workaround since you did not supply a twbx workbook I had to use superstore data - you will need to adapt the model to your data
first a parameter
then a case statement
then build the viz
when the parameter is 2 the viz looks like this
set to 1 it looks like this
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.
parameter workaround.twbx 2.4 MB
1 of 1 people found this helpful
Check the below links how to hide parameter based on another parameter selection
Hope this helps kindly mark this answer as correct or helpful so that it will help others.