The date time field in the database is more precise than the date time that is recognized by Tableau Desktop.
Wrap the DATETIME field in a truncate function at the datasource. For example:
TRUNC_TIMESTAMP([DATETIME])To view an example of the Trunc(date) function for Oracle Database: Database SQL Reference: Trunc* in the Oracle Knowledge Base.
Convert the relevant table joins to CustomSQL to CAST the DATETIME key as a truncated DATETIME field.
To view an example of the CAST function see Database SQL Reference: Cast* in the Oracle Knowledge Base.
Create a view at the data source. For more information, see Create a SQL View* (external site, w3schools.com).
*Although we make every effort to ensure links to external websites are accurate, up to date, and relevant, Tableau cannot take responsibility for the accuracy or freshness of pages maintained by external providers. Contact the external site for answers to questions regarding its content.
001474141

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.