> ## Content Index
> Fetch the complete content index at: https://kr.vizney.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# 태블로 계산식에서 날짜 상수 입력하기
- URL: https://kr.vizney.com/using-date-constants-in-tableau-calculated-fields/
- Published: 2025-05-13T02:11:52.000Z
- Updated: 2026-02-23T23:59:05.000Z
- Description: 특정 날짜와 비교하는 계산식을 작성할 때 사용할 수 있는 방법입니다.
- Author: 황예환
- Tags: Knowledge Base

태블로에서 특정 날짜와 비교하는 계산식을 작성할 때는, **날짜를 `#` 기호로 감싸서** 입력해야 합니다.

```
DATEADD('day', 10, #1/20/25#) = #January 30, 2025#

DATEDIFF('day', #3/10/2025#, #3/20/2025#) = 10

DATEPART('year', #2025-05-13#) = 2025

```

날짜 리터럴이 없으면 다른 데이터 유형으로 해석될 수 있으니 사용에 주의하시기 바랍니다.

[날짜 함수날짜는 많은 데이터 원본에서 공통 요소입니다![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/icon/favicon-17.ico)Tableau![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/thumbnail/datefunc_dateformats.png)](https://help.tableau.com/current/pro/desktop/ko-kr/functions%5Ffunctions%5Fdate.htm?ref=kr.vizney.com#%EB%82%A0%EC%A7%9C-%EB%A6%AC%ED%84%B0%EB%9F%B4)