<?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=26078</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Tue, 03 Sep 2013 20:15:41 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-09-03T20:15:41Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Regarding Calculated field usage with a column containing 2000 rows</title>
      <link>https://community.tableau.com/thread/130411</link>
      <description>&lt;!-- [DocumentBodyStart:9423eea7-0600-42ad-8a41-69d223eab2c4] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have been using a calculated field on a column called "URL".&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Basically the query used in calculated field is as below.'&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;if CONTAINS([URL] ,'cinema') = TRUE then 'Cinema Page visit'&lt;/p&gt;&lt;p&gt;ELSEIF&lt;/p&gt;&lt;p&gt;CONTAINS([URL] ,'bowling') = TRUE then 'entertainment page visit' &lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;ELSE *OTHER PAGES'&lt;/p&gt;&lt;p&gt;END&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;The URL column am querying is having 2000 rows and the extract is excel extract.&amp;#160; I have been getting database error 0x80040e14 unknown.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I read in other forum, it might be because of using so many if condition and hence i changed my calculated field to use switch. It doesnt help even &lt;span aria-label="Sad" class="emoticon_sad emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I performed the same IF/SWITCH on the same column with 25 rows and it gave me the correct results . Is this because of limitation in tableau taht i cannot use a if statement with more than 2000 rows.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Your timely help would be appreciated.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9423eea7-0600-42ad-8a41-69d223eab2c4] --&gt;</description>
      <pubDate>Tue, 03 Sep 2013 20:15:41 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/130411</guid>
      <dc:date>2013-09-03T20:15:41Z</dc:date>
      <clearspace:dateToText>5 years 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

