<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Content in Tableau Community Forums</title>
    <link>/profile-content.jspa?filterID=contentstatus[published]&amp;targetUser=4796</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Wed, 29 Aug 2012 17:57:46 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-08-29T17:57:46Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Limit the number of filters</title>
      <link>https://community.tableau.com/thread/115430</link>
      <description>&lt;!-- [DocumentBodyStart:f79c336e-84a9-4a29-936c-372d2190ab3f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have about 10 variables, both string and numerical, that I would like to offer the viewer as filters but I only want them to be able to select 3 at a time. The three filters they select can be all string, all numerical, or a mixture of both. My main objective is to get down to three active quick filters. I need the end result to be quick filters so that I can have the slider option for the continuous numerical variables.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;The first major problem I have run into is that in a CASE calculated field, the result types have to match. Meaning that if I set up a parameter listing all 10 variables the below calculated field is not allowed:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;CASE P1&lt;/p&gt;&lt;p&gt;When &amp;ldquo;Region&amp;#8221; then [Region]&lt;/p&gt;&lt;p&gt;When &amp;ldquo;Age&amp;#8221; then [Age]&lt;/p&gt;&lt;p&gt;&amp;hellip;&lt;/p&gt;&lt;p&gt;End&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have tried to create 2 parameters (1 for the string variables, 1 for the numerical) for the choice of one filter. But I then can&amp;#8217;t find a way to limit the viewer to select either a string or numerical filter. I tried adding in a choice called &amp;ldquo;No Choice&amp;#8221; for the string parameter (String P) and then created a calc field = if [String P]="No Choice" then [Num P] else [String P] end. Which works in the fact that the String P calc field quick filter completely clears when &amp;ldquo;No Choice&amp;#8221; is selected but then causes an error message when a value in Num P is selected.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have also tried using action filters on a dashboard since I have the option to make these quick filters global (meaning they could be on a different sheet and still filter my main graph). My thought was that I could have a list (almost like a table of contents) and clicking on a variable name would bring up that quick filter (I would have a sheet for each variable). The problem here is that a filter action will clear only the graph and leave the quick filters when you select &amp;ldquo;exclude all values&amp;#8221; when the selection is cleared. This would allow someone to filter by as many variables as they want since all the quick filters still appear.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span&gt;I have my data in excel and it comes in from surveys so it looks similar to &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.datarevelations.com/using-tableau-to-visualize-survey-data-part-1.html"&gt;http://www.datarevelations.com/using-tableau-to-visualize-survey-data-part-1.html&lt;/a&gt;&lt;span&gt; after reshaping.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I'm attaching a bare bones screen shot of what I would like to acheive.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Any help is greatly appreciated!!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f79c336e-84a9-4a29-936c-372d2190ab3f] --&gt;</description>
      <pubDate>Wed, 29 Aug 2012 17:57:46 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/115430</guid>
      <dc:date>2012-08-29T17:57:46Z</dc:date>
      <clearspace:dateToText>6 years 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

