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

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

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

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

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