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

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

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

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

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