Tableau - I want to filter my data based on one dimension, but is being controlled using 2 parameters -
i have group of users each have variable assigns them group. can't share data, example data prove sufficient.
+-----+-----------+--------------+ | id | age group | location | +-----+-----------+--------------+ | 1 | 18-34 | east spain | | 2 | 35-44 | north china | | 3 | 35-44 | east china | | 4 | 65+ | east congo | | 5 | 45-54 | north japan | | 6 | 0-17 | north spain | | 7 | 65+ | north congo | | 8 | 45-54 | east japan | | 9 | 0-17 | north spain | | 10 | 18-34 | east china | | 11 | 18-34 | north china | +-----+-----------+--------------+
my end goal create sheet/dashboard, pie chart age grouping. want filter pie chart based on area, however, want there 2 selections, 1 area (east/north), , 1 country (spain/china/congo/japan). filters both "single value lists", 1 area , 1 country able selected @ time, combine filter patients. example, if 'east' chosen area selection, , 'china' country selection, pie chart show patients 3 , 10.
this helps reduce number of selections user have 8, 6. know isn't of difference, in actual data there lot more permutations , reduction when de-cluttering sheet/dashboard.
i've created parameters both area , country, don't know how combine 2 parameters effect patients selected.
let me know if can clarify anything. if parameters aren't way this, open other suggestions!
thanks much!
create calculated field concatenates values parameters , tests against location
field. put calculated field in filters card , set true
.
calculated field should this:
([area] + ' ' + [country]) = [location]