<?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=8788</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Wed, 20 Jun 2018 12:44:44 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2018-06-20T12:44:44Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>How can I use user impersonation on ODBC?</title>
      <link>https://community.tableau.com/thread/117987</link>
      <description>&lt;!-- [DocumentBodyStart:b87ebe8a-30ac-4bd1-89fc-15c88866d8ab] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Is there any way to pass the authenticated user (the user that&lt;br/&gt;is currently logged in to Tableau) to an ODBC connection? In the connection&lt;br/&gt;string, in DataSourceIPCustomProperties parameter or any other way.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;I've seen that you can use impersonation option in Tableau when&lt;br/&gt;you use "Microsoft SQL Server" connection but, when I try to publish&lt;br/&gt;a workbook using ODBC, the option is not available, only "Prompt&lt;br/&gt;User" and "Embedded Password" are.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;I'm not talking about the username and password you set for the&lt;br/&gt;connection to ODBC, but the username you use when logging into Tableau. I'm&lt;br/&gt;using a custom ODBC driver running under Progress DataDirect OpenAccess. Maybe there&amp;#8217;s&lt;br/&gt;another ODBC driver that can support impersonation?&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;&lt;span style="color: #575757; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;Many thanks in advance!&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b87ebe8a-30ac-4bd1-89fc-15c88866d8ab] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">tableau</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">odbc</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">impersonation</category>
      <pubDate>Wed, 20 Jun 2018 12:44:44 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/117987</guid>
      <dc:date>2018-06-20T12:44:44Z</dc:date>
      <clearspace:dateToText>1 year 7 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How can I manipulate or condition the SQL queries that Tableau send to an ODBC driver?</title>
      <link>https://community.tableau.com/thread/118475</link>
      <description>&lt;!-- [DocumentBodyStart:8c65aa97-d2e5-4bf3-8c34-e473dd3b82b2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm using a custom &lt;strong&gt;ODBC &lt;/strong&gt;driver running under &lt;strong&gt;Progress DataDirect OpenAccess&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;On &lt;strong&gt;Progress Analyst Studio&lt;/strong&gt;, when I drag-and-drop a DateTime column (UploadDate) onto the Rows area I get an error, and on the details it shows that the program is sending this query:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;SELECT {fn FLOOR(EXTRACT(YEAR FROM UploadDate))}&lt;/em&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;FROM MyTable&lt;/em&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;GROUP BY {fn FLOOR(EXTRACT(YEAR FROM UploadDate))}&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;but when I right click on "UploadDate" and select "&lt;strong&gt;All Values&lt;/strong&gt;" instead of "&lt;strong&gt;Year&lt;/strong&gt;" it works as it sends the query below:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;SELECT UploadDate&lt;/em&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;FROM MyTable&lt;/em&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #808080;"&gt;&lt;em&gt;GROUP BY UploadDate&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Also, similar issue with "WHEN NOT" clause:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #575757;"&gt;SELECT (CASE WHEN (Name = 'myname') THEN 1&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #575757;"&gt;WHEN NOT (Name = 'myname') THEN 0&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #575757;"&gt;ELSE NULL END),&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #575757;"&gt;Name&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #575757;"&gt;FROM MyTable&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;What I would like to do is to indicate Analyst Studio that my driver does not support functions (or WHEN NOT), how can I do this?&lt;br/&gt;I had a look at the article:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://community.tableau.com/external-link.jspa?url=http%3A%2F%2Fkb.tableausoftware.com%2Farticles%2Fknowledgebase%2Fcustomizing-odbc-connections" rel="nofollow" target="_blank"&gt;http://kb.tableausoftware.com/articles/knowledgebase/customizing-odbc-connections&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;When it describes how you can customize the settings of your ODBC connection features, and I tried with:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;CAP_ODBC_BIND_FORCE_DATE_AS_CHAR = false&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;CAP_ODBC_BIND_FORCE_DATETIME_AS_CHAR = false&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;SQL_TIMEDATE_FUNCTIONS&lt;/strong&gt;&lt;br/&gt;&lt;span style="color: #c0c0c0;"&gt;&lt;em&gt;(Integer bitmask. Defines which SQL scalar date / time functions are supported)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;But the first two didn't work and for the third I couldn't find any information about how to define the submask value.&lt;/p&gt;&lt;p&gt;Any suggestion/idea is more than welcome.&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;Many thanks in advance!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8c65aa97-d2e5-4bf3-8c34-e473dd3b82b2] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">tableau</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">query</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">manipulation</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">odbc</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">customization</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">datadirect</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">openaccess</category>
      <pubDate>Thu, 21 Jun 2012 22:19:31 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/118475</guid>
      <dc:date>2012-06-21T22:19:31Z</dc:date>
      <clearspace:dateToText>7 years 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

