---
schema_version: "1"
id: c2336b7cdd5a420df4da09cbfcd2b20235cdb179b85af2562e52564a1da32d59
title: วิธีแก้ปัญหาฟังก์ชัน FORMAT() ใน Tableau
collection: tableau
version: next
locale: th-th
portal_url: https://docs.salesforce.com/tableau/next/th-th/pro/desktop/format_fields.md
canonical_url: https://help.tableau.com/v0.0/pro/desktop/th-th/format_fields.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 7d532128eeb89c42eb6e3e00c90a70b692eba948615d4fad360de8dc09d26bf9
description: Use workarounds for formatting fields since Tableau has no FORMAT() function.
---
[ข้ามไปยังเนื้อหาหลัก](#main-content)

# วิธีแก้ปัญหาฟังก์ชัน FORMAT() ใน Tableau

Tableau ไม่มีฟังก์ชัน FORMAT() สำหรับจัดรูปแบบฟิลด์ แต่มีหลายวิธีในการเปลี่ยนโครงสร้างและการแสดงผลฟิลด์ในเวิร์กบุ๊ก ดังนี้

- สำหรับฟิลด์ข้อมูลด้านภูมิศาสตร์ โปรดดู[กำหนดบทบาททางภูมิศาสตร์](https://help.tableau.com/v0.0/pro/desktop/th-th/maps_geographicroles.htm)
- สำหรับฟิลด์วันที่หรือตัวเลข โปรดดู[ตั้งค่ารูปแบบตัวเลขเริ่มต้น](https://help.tableau.com/v0.0/pro/desktop/th-th/datafields_fieldproperties.htm#DefFormat)
    - สำหรับรูปแบบวันที่ที่กำหนดเอง โปรดดู[รูปแบบวันที่แบบกำหนดเอง](https://help.tableau.com/v0.0/pro/desktop/th-th/dates_custom_date_formats.htm)
- สำหรับสัญลักษณ์และหลักการที่คุณสามารถใช้เพื่อระบุรูปแบบฟิลด์ได้ โปรดดู[ไวยากรณ์นิพจน์สัญพจน์](https://help.tableau.com/v0.0/pro/desktop/th-th/functions_operators.htm#literals)
- สำหรับตัวเลขและค่า null โปรดดู[จัดรูปแบบตัวเลขและค่า Null](https://help.tableau.com/v0.0/pro/desktop/th-th/formatting_specific_numbers.htm)

Tableau ยังมีฟังก์ชันสตริงต่างๆ ที่คุณสามารถใช้เพื่อปรับแต่งการแสดงผลฟิลด์สตริงในมุมมองได้ โปรดดู[ฟังก์ชันสตริง](https://help.tableau.com/v0.0/pro/desktop/th-th/functions_functions_string.htm)