title: Interactive Drill Down from State to County Map in Tableau
body: <p>I am trying to create a [State] to [County] drill down map in Tableau where I can click on the state and it zooms into the county view. I've managed to create a dropdown menu that achieves this, however clicking on the state does not. I've looked at several tutorials that do what I want to do (though the ones I can find drill down to State from Region) and customized them for my data, but things just aren't turning out the same way. This is the one I've been mostly using and the one I refer to when I explain what I did below: <a href="https://www.datavizjen.com/2020/05/click-from-region-to-county-drilldown.html" rel="nofollow noreferrer">https://www.datavizjen.com/2020/05/click-from-region-to-county-drilldown.html</a></p>
  <p>I created a [State-Level] map worksheet, and then  created a set on [State] called [State Selected], and created a calculation named [Drill to County]:</p>
  <p>IF [State Selected] THEN [County]
  END</p>
  <p>Following this I put [Drill to County] on Detail in the marks box.</p>
  <p>I created a [County-Level] Worksheet and created a parameter named [State (for County)]. The list of values is all the states, and then I added a value, [US Map].</p>
  <p>I created a calculation, &quot;County Map Pop-Up&quot;:</p>
  <p>IF [State (for County)] = [State] THEN &quot;Show County Map&quot;
  ELSEIF [State (for County)] = &quot;US Map&quot; THEN &quot;Show State Map&quot;
  END</p>
  <p>I showed the [State (for County)] parameter control and placed the [County Map Pop-Up] calculation in the filters box for both [State-Level] and [County-Level] worksheets.</p>
  <p>I put these two sheets on a vertical tiled dashboard, hiding the county level one. Now I can use the [State (for County)] drop down menu to see the county level for that state, but I can't select a state to go to the county level. How would I achieve that?</p>
  <p>Thank you,</p>
  <p>Sam</p>