Last Modified Date: 20 Jul 2023
Environment
- Tableau Desktop
Resolution
Before you can use date fields to blend data between two data sources, you must consider the following:- The date values you want to blend on must exist in both data sources.
- The date values must be in the same format. A datetime field in the primary data source, for example, will not blend with a date field in the secondary data source.
- A datetime field may be converted to a date field using a calculation to remove the time portion.
- For example, select Analysis > Create Calculated Field, and in the Formula text box, type the following formula:
Date(Left(str([<date-time-field>]),10))
- Blend the data sources on the new date fields that are created.
Additional Information
Consider rounding to nearest week or month if every day does not exist in the data.Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Continue Searching
Knowledge Base
Community
Product Help
Training and Tutorials