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

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

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

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

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