Not sure what's your expected, but it should be able to achieve.
I attached a sample as well as screenshot for your reference in case it may help
Book1_v10.2.twbx 1.2 MB
yes, we can do this in tableau.
we can create dim parameter as well measure parameter and get this done.
Hi Ankit Goel,
This can be achieved,
Please follow the steps below:
Create a parameter and then set it to string and then you have to put name of measures manually
check it , I am using an example
and then Show the para meter control,
After doing all that, create a calculated field
Here Sales & Units is the name of para meter and make a condition as you desired
And then it will work.
Thanks ZZ !