title: Conditional filtering for Tableau worksheets using Tabcmd
body: <p>I have a dashboard which has two worksheets in it. I have a filter that is applied to only one of the two sheets. It works perfectly when I upload it on the Tableau server. However, when I use tabcmd to get pdf of the dashboard by just iterating over that one filter, it applies to both the sheets within the dashboard.
  I have already set that filter to apply to the desired worksheet. 
  How can I solve this issue?</p>
  
  <p>I tried creating a copy of the same filter and applying to the sheet I don't want it to affect. I also did add context to the original filter and then tried to run it through tabcmd. Both options didn't seem to work.</p>
  
  <p>Here is my code: The '<code>&amp;Location%20Group=' + LocGroup.replace(' ','%20')</code> filter is getting applied to both sheets instead of 1
  Also, I am running tabcmd in python</p>
  
  <pre><code>for LocGroup in LocationGroup:
      BatchString = 'tabcmd get "' + View + Dashboard + SnapType + SnapSize + '&amp;Year=' + Year + '&amp;Month=' + Month + '&amp;Location%20Group=' + LocGroup.replace(' ','%20') + '" -f "' + SnapFolder + '\\' + Year + '_' + Month + '_' + LocGroup + SnapType + '"\n'
      print(BatchString)
      GetSnaps(BatchString)
  </code></pre>