Last Modified Date: 17 Oct 2017
- Tableau Server
- Tableau Desktop
AnswerThe following instructions can be reviewed in the attached workbook.
- Select Analysis > Create calculated field....
- In the Formula text box, type the formula similar to the one below, and then click OK.
- Drag the calculated field into the view, replacing the original date field.
DATEPARTreturns the date as an integer. For months or days of the week, use
DATEPART. For example:
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Training and Tutorials