<?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=42103</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Thu, 07 Aug 2014 23:34:24 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-08-07T23:34:24Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Unknown function RAWSQL_STR</title>
      <link>https://community.tableau.com/thread/146951</link>
      <description>&lt;!-- [DocumentBodyStart:6d45a0c8-7023-4124-926f-105670596eea] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I'm trying to create a calculated field that looks up a value from a secondary data source.&amp;#160; I use the following line for the function:&lt;/p&gt;&lt;p&gt;RAWSQL_STR("SELECT [Data Item] FROM&amp;#160; [AnnSurv2012Enum (BRFS2012)] WHERE [Data Element Name]='_STATE' AND [Lower Bound]=%1",[BRFS2012 (BRFS2012)].[_State])&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;But it says "Unknown function RAWSQL_STR called".&amp;#160; This appears to be the correct name and syntax from the help doc.&amp;#160; Any suggestions?&lt;/p&gt;&lt;p&gt;Greg&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6d45a0c8-7023-4124-926f-105670596eea] --&gt;</description>
      <pubDate>Thu, 07 Aug 2014 23:34:24 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/146951</guid>
      <dc:date>2014-08-07T23:34:24Z</dc:date>
      <clearspace:dateToText>4 years 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to lookup values from another table?</title>
      <link>https://community.tableau.com/thread/146909</link>
      <description>&lt;!-- [DocumentBodyStart:0dc18144-6bb5-4e3f-81b1-cae3848fa9ac] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;In my primary table I have a column called _STATE.&amp;#160; Each cell in that column contains an integer which is a reference to a cell in a secondary table.&amp;#160; In the secondary table there is a column called DATA ELEMENT NAME.&amp;#160; Some of the cells in that column have value _STATE.&amp;#160; Another column in the secondary table is called LOWER BOUND and another is called DATA ITEM.&amp;#160; The LOWER BOUND cell contains the reference integer from the primary table.&amp;#160; The DATA ITEM cell contains the name of the State.&amp;#160; For example, LOWER BOUND value of 1 maps to DATA ITEM value of Alabama.&amp;#160; 2 maps to Alaska, etc.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;So how do I get Tableau to pull Alabama when it sees a 1 in a cell of the _STATE column?&lt;/p&gt;&lt;p&gt;If it were SQL it would be something like this:&lt;/p&gt;&lt;p&gt;Select 'DATA ITEM' from secondary_table where 'DATA ELEMENT NAME'='_STATE' AND 'LOWER BOUND'=passed_value&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0dc18144-6bb5-4e3f-81b1-cae3848fa9ac] --&gt;</description>
      <pubDate>Tue, 05 Aug 2014 17:39:23 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/146909</guid>
      <dc:date>2014-08-05T17:39:23Z</dc:date>
      <clearspace:dateToText>4 years 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

