<?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=29114</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Mon, 16 Oct 2017 14:25:44 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2017-10-16T14:25:44Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Can I allow users to change moving average window?</title>
      <link>https://community.tableau.com/thread/138036</link>
      <description>&lt;!-- [DocumentBodyStart:ad9aedda-22be-49a9-9437-9940de412eb9] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'd like to be make it possible for my users, via their browser, to modify the time window used for a moving average table calculation. The default presentation is 7 days.&amp;#160; I'd like to make it possible for users to shorten or extend this to 1 day or 30 days, for instance.&amp;#160; Is this possible?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ad9aedda-22be-49a9-9437-9940de412eb9] --&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:25:44 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/138036</guid>
      <dc:date>2017-10-16T14:25:44Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to drop Tableau_sid tables in MySQL</title>
      <link>https://community.tableau.com/thread/137358</link>
      <description>&lt;!-- [DocumentBodyStart:727ee692-58ee-452f-bc59-73284a4fbfe8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Over the last year I've collected a few tables with names like "#Tableau_sid_0000082E_7_none_RegCountry_nk" in my MySQL DB.&amp;#160; I believe these are due to connections that were lost along the way.&amp;#160; I'm not concerned with how they got there.&amp;#160; What I'd like to know is how to drop them as I can't tell how to escape the comment character '#'.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I've tried various combinations with 'drop table'.&amp;#160; But I'm not hitting on the correct character escaping or quoting to get rid of them.&amp;#160; I get either "ERROR 1064 (42000) at line 1: You have an error in your SQL syntax..." or "ERROR 1051 (42S02) at line 1: Unknown table...".&amp;#160; And the documentation that I thought would address this doesn't:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&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%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fstring-literals.html" rel="nofollow" target="_blank"&gt;MySQL :: MySQL 5.5 Reference Manual :: 9.1.1 String Literals&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:727ee692-58ee-452f-bc59-73284a4fbfe8] --&gt;</description>
      <pubDate>Tue, 25 Mar 2014 03:07:45 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/137358</guid>
      <dc:date>2014-03-25T03:07:45Z</dc:date>
      <clearspace:dateToText>5 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>filter based on mysql datetime</title>
      <link>https://community.tableau.com/thread/138877</link>
      <description>&lt;!-- [DocumentBodyStart:951b6f50-617f-4a93-9220-a12fb4399789] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm attempting to filter data based on a MySQL timestamp field, with both a Data Source Filter and a Filter card entry.&amp;#160; I'd like the Data Source Filter to limit the data to the last 2 or 4 weeks.&amp;#160; And I'd like the Filter card entry to allow users to look at a more narrowed range.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;This seems like such a basic thing I'm sure I'm doing something very stupid.&amp;#160; But nothing that I try is working.&amp;#160; I've been looking at the log entries and see that Tableau is introducing cast operations that are upsetting MySQL.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Tableau shows that it has recognized that the field is a date/time with the icon of a calendar and clock.&amp;#160; Simply putting this into a filter entry with Relative dates I get a dialog box with this message:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;[MySQL][ODBC 5.2(w) Driver][mysqld-5.5.27]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND (`PlayerSpawns`.`StartTime_ts` &amp;lt; (CAST({ts '2014-02-11 00:39:48'} AS DATE' at line 4&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Here's the query that I find in the log file:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;SELECT `PlayerSpawns`.`MechSubType` AS `none:MechSubType:ok`,&lt;/p&gt;&lt;p&gt;SUM(1) AS `sum:Number of Records:ok`&lt;/p&gt;&lt;p&gt;FROM `PlayerSpawns`&lt;/p&gt;&lt;p&gt;WHERE ((`PlayerSpawns`.`StartTime_ts` &amp;gt;= (CAST({ts '2014-02-11 00:39:48'} AS DATE) + (-2) * INTERVAL '1' DAY)) AND (`PlayerSpawns`.`StartTime_ts` &amp;lt; (CAST({ts '2014-02-11 00:39:48'} AS DATE) + 1 * INTERVAL '1' DAY)))&lt;/p&gt;&lt;p&gt;GROUP BY 1&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;This approach for adding an interval to a date isn't supported.&amp;#160; Is it possible that this is due to the version of the ODBC driver I'm using so I can have a secure connection to the DB?&amp;#160; I know my DSN connection has some limitations.&amp;#160; But I clicked the 'don't show me this dialog box again' option, so now I don't know just what limitations Tableau has with it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have tried other approaches to work with this field.&amp;#160; But those all result in casting problems.&amp;#160; Unless someone can suggest an alternative to these I think I'll have to go the 'custom SQL' route which I was trying to avoid.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:951b6f50-617f-4a93-9220-a12fb4399789] --&gt;</description>
      <pubDate>Tue, 11 Feb 2014 03:45:40 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/138877</guid>
      <dc:date>2014-02-11T03:45:40Z</dc:date>
      <clearspace:dateToText>5 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Using Google 2-step verification with a Data Connection</title>
      <link>https://community.tableau.com/thread/137875</link>
      <description>&lt;!-- [DocumentBodyStart:9b47426a-d00b-4051-8ba2-e9f0badf2a85] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I use Google's 2-step Verification and Application-Specific Passwords with my gmail account.&amp;#160; I cannot find a way to have Tableau save the password.&amp;#160; When I attempt this I'm told that I need to use my usual, non-app-specific, password.&amp;#160; I don't ever have an opportunity to enter the app-specific password.&amp;#160; When it's time to update the data the job always fails.&amp;#160; Is there a way around this?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9b47426a-d00b-4051-8ba2-e9f0badf2a85] --&gt;</description>
      <pubDate>Fri, 17 Jan 2014 22:48:26 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/137875</guid>
      <dc:date>2014-01-17T22:48:26Z</dc:date>
      <clearspace:dateToText>5 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

