---
schema_version: "1"
id: 8909a6ab7d9e532f4b6cde63f6ff899faa627a639e23fa28e1c204b6c1245d49
title: 關於瞭解如何建立計算的提示
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/pro/desktop/calculations_calculatedfields_understand_formulas.md
canonical_url: https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_understand_formulas.htm
source_site: help.tableau.com
content_type: documentation
content_hash: fb8798cea709d4f68f6adf73579b19cb88b219a0a5d8dba3e2a1e83826c01f7e
description: Tips for learning to build calculation formulas by clarifying your question and researching functions.
---
[跳至主要內容](#main-content)

# 關於瞭解如何建立計算的提示

現在，您知道了計算類型以及何時使用它們，那麼怎樣才能真正知道如何為它們建立公式呢？這是一個棘手的問題。

沒有簡單的方法可以確切地知道如何建立完美的公式；這需要實踐和研究。但是，以下是您可以開始學習的一些方法：

**瞭解您的問題或目的**

若您知道所需的資料類型，這可以幫助您選擇正確的函數並設定正確的格式。例如，如果您需要顯示訂單的利潤，則可以建立類似於以下的公式：SUM (Sales) - SUM (Cost)。

**瞭解 Tableau 函數**

Tableau 中提供了許多不同的函數。每種類型都有不同的用途。若要瞭解詳細資料，請參閱[Tableau 中的函數](https://help.tableau.com/current/pro/desktop/zh-tw/functions.htm)。

**瞭解如何設定計算的格式**

在熟悉不同類型的 Tableau 函數及其用途後，請務必瞭解如何使用正確的語法設定計算格式。若要瞭解詳細資料，請參閱[在 Tableau 中編寫計算](https://help.tableau.com/current/pro/desktop/zh-tw/functions_operators.htm)。

**從其他範例中學習**

透過範例來學習非常有效。嘗試收集在日常分析中使用的常用計算清單。您可以使用以下資源：

- [Tableau 博客：前 10 個 Tableau 表計算](https://www.tableau.com/zh-tw/blog/top-10-tableau-table-calculations)
- [Tableau 博客：前 15 個 LOD 運算式](https://www.tableau.com/zh-tw/about/blog/LOD-expressions)
- [Tableau 博客: 透過使用計算欄位的範本節省時間並保持一致性](https://www.tableau.com/zh-tw/about/blog/2017/2/save-time-and-stay-consistent-template-workbook-calculated-fields-66016)

**仍然有問題？**

[請在 Tableau 社群中尋求幫助](https://community.tableau.com/community/forums/content?filterID=contentstatus%5Bpublished%5D~category%5Bcalculations%5D)。

### 本系列中的其他內容：

[瞭解 Tableau 中的計算](https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_understand.htm)

[Tableau 中的計算類型](https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_understand_types.htm)

[選擇正確的計算類型](https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_understand_which.htm)

### 更多計算內容：

[Tableau 中的計算入門](https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_create.htm)

[建立簡單的計算欄位](https://help.tableau.com/current/pro/desktop/zh-tw/calculations_calculatedfields_formulas.htm)