Take below data as reference and steps to create Dashboard with Gender parameter :
Create a parameter with list of 2 values M,F as below :
Create a calculation like below :
Drag this calculation in each worksheet and select True.
in Dashboard add all worksheets , and add parameter and select the required value.
Attached the sample workbook for Reference.
Gender Parameter.twbx 19.0 KB
Accoring to your requirement lets create one filter name as Select Gender.
Steps to create as below :
Right click on Object panel and select Create Parameter option from list.
Details of Parametrs as below :
We can see newly created parameter in Parameter section.
Now click on Show parameter control
Now we can see parameter in sheet, But parameter will not make an impact on data to do so follow below steps.
Step 1 :
Create new calculate field.
Use this new object as a filter ans select valus as "Show"
Now it will work base on parameter value gender will change, Final output as below.
I have also attached tableau package for refrence.
Hope it will help to understand, also you can refer below links.
2 Param- Control.twbx 24.7 KB
1) Create a parameter using the Field.
2) Create a calculated field using this Parameter.
If [Field] = [Paramater] then [Field] end
3) Drag the new field into Filrter shelf, then convert his filter as GLOBAL FILTER.
Thank you everyone for your help on this, very much appreciated. Got it working now!