---
schema_version: "1"
id: 978b8558db11f6d1ce53e452c7a06b11a29b7ef90655523397230778654e61a3
title: Tableau 中的 FORMAT() 函數解決方法
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/public/desktop/format_fields.md
canonical_url: https://help.tableau.com/current/public/desktop/zh-tw/format_fields.htm
source_site: help.tableau.com
content_type: documentation
content_hash: a9f4e4f7b913d41978aaefdf89c988bf848e97caef4d9b78a5ea8a68949dc6d0
description: Use workarounds for formatting fields since Tableau has no FORMAT() function.
---
[跳至主要內容](#main-content)

# Tableau 中的 FORMAT() 函數解決方法

Tableau 沒有用於設定欄位格式的 FORMAT() 函數，但卻提供了各種方式來變更工作簿中欄位的結構和外觀：

- 地理欄位，請參閱[指派地理角色](https://help.tableau.com/current/public/desktop/zh-tw/maps_geographicroles.htm)。
- 日期或數字欄位，請參閱[設定預設數位格式](https://help.tableau.com/current/public/desktop/zh-tw/datafields_fieldproperties.htm#DefFormat)。
    - 自訂日期格式，請參閱[自訂日期格式](https://help.tableau.com/current/public/desktop/zh-tw/dates_custom_date_formats.htm)。
- 可用於指定欄位格式的符號和慣例，請參閱[文字運算式語法](https://help.tableau.com/current/public/desktop/zh-tw/functions_operators.htm#literals)。
- 數字和 Null 值，請參閱[設定數位和 Null 值的格式](https://help.tableau.com/current/public/desktop/zh-tw/formatting_specific_numbers.htm)。

Tableau 還提供了一系列字串函數，可用來自訂字串欄位在檢視中的外觀。請參閱[字串函數](https://help.tableau.com/current/public/desktop/zh-tw/functions_functions_string.htm)。