Good morning Ava
In Tableau Parameters are for user input and MUST be backed up by calculated field -
you can create a parameter that allows the user to input the car type
but then you need to include the parameter in other calculations
e.g. [Car Model]=[enter car type] will create a t/f filter that can be placed on the filter shelf and set to true
and then you can create you viz based on other dimensions
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.
Please see the attached workbook. I use a simple data source to explain the mechanism.
Key for item 1:
make a calculated field: City Sales
CASE [City Parameter]
WHEN 'Chicago' THEN (IF [City]='Chicago' THEN [Sales] END)
WHEN 'New York' THEN (IF [City]='New York' THEN [Sales] END)
WHEN 'Los Angeles' THEN (IF [City]='Los Angeles' THEN [Sales] END)
Key for item 2:
Make a Set, and use top N by City Sales. Put it in filter.
All you need is satisfied.
Hope it helps.
Top.twbx 4.6 KB
Please see packaged workbook in tableau 10.4. I am elaborating here. Please look for highlighted fields in the screenshot below.
Let me know if you need the detailed explanation.
tableau forum May 17.twbx 1.2 MB