> For the complete documentation index, see [llms.txt](https://doc.moze.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.moze.app/analysis/comparison-report.md).

# 比較報表

> 新功能多維度比較，以表格呈現不同項目跨時段的統計數據，讓財務趨勢清晰可見

統計報表一次呈現單一區間的統計和分析；如果想比較各個區間的數據變化，可以切換到比較報表查看。

<figure><img src="/files/c9k4MrhbaG32IGByBFch" alt=""><figcaption></figcaption></figure>

系統預設會先幫你建立**記錄類型**、**支出類別**、**收入類別**和**所有支出子類別**的比較報表，你之後也可以自行新增或調整。

下方是**記錄類型比較報表**的範例：

1. 左邊縱軸顯示每個月的區間
2. 上方橫軸是不同記錄類型
3. 下方橫軸是每個記錄類型的合計和平均值
4. 右邊縱軸是每個區間不同記錄類型的總計和月增率

透過這個報表，你可以清楚看到支出、收入等不同記錄類型在每一個區間的統計數值，也可以看到每個月的總計和變化。

<figure><img src="/files/8oomOWWHzaKlIDNOZIvj" alt=""><figcaption></figcaption></figure>

### 自訂報表

可以指定記錄類型的比較項目、結算週期和篩選條件等：

<figure><img src="/files/8497xpRp9WyJlosVBC1O" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/x5bkxgCMz24c9CkT3Ii3" alt=""><figcaption></figcaption></figure>

### 檢視交易明細

點擊表格中的任一格，就會顯示該項目在該區間的交易記錄：

<figure><img src="/files/0rtffo3pqgO62VeUxj7y" alt=""><figcaption></figcaption></figure>

### 指定區間

點擊左方的區間欄位，下方的合計和平均就會根據你選擇的區間統計：

<figure><img src="/files/RmrcUP6gGYmbpj2UIjgL" alt=""><figcaption></figcaption></figure>

你也可以長按起始區間後再選取結束的區間，一次完成大範圍的選擇：

<figure><img src="/files/ZsWA3XDdc7PvkM8s9JXE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qr7r5ooQC0DaWccMBhHh" alt=""><figcaption></figcaption></figure>

同樣地，長按也可以取消範圍選取：

<figure><img src="/files/UVN1pZtMfi00wK8hQHbV" alt=""><figcaption></figcaption></figure>

### 指定項目

點擊上方的項目欄位，右邊的總計和月增率也會根據你的選擇統計：

<figure><img src="/files/gN79sbFqngWH3l9DyV4G" alt=""><figcaption></figcaption></figure>

長按上方欄位會跳出「全選所有欄位」的選項。想排除某幾個欄位另做統計時，可以先全選，再取消特定欄位。

<figure><img src="/files/z6l3WAeNEJHicPgT3MjP" alt=""><figcaption></figcaption></figure>

## 比較報表分析 <a href="#analysis" id="analysis"></a>

指定區間和比較項目後，點擊右下角的分析按鈕，系統會根據你選擇的條件，提供統計、項目佔比、區間統計、區間變化和交易明細等數據分析。

<figure><img src="/files/nj9UVjeLV2xd8QLeSpXg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9A7CcjTGStzgzAnATFRD" alt=""><figcaption></figcaption></figure>

### 統計 <a href="#statistics" id="statistics"></a>

預設依照欄位順序呈現，你也可以改依金額或次數排序，或查看平均值。

<figure><img src="/files/xxHGNGuWcEe4YTCDiJnC" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vKnaUbvhyqoZVL4VwNni" alt=""><figcaption><p>依金額排序</p></figcaption></figure>

<figure><img src="/files/sdnwe2WLNLLnJnJwbzSA" alt=""><figcaption><p>平均值</p></figcaption></figure>

### 區間統計 <a href="#interval-statistics" id="interval-statistics"></a>

這裡會把你選擇的項目依區間統計，用疊加的柱狀圖呈現，並提供平均線做參考。點擊圖表上的特定區間，下方會顯示該區間的統計以及與上期的變化率，點擊後則會展開這個區間的詳細統計。

<figure><img src="/files/LUIeKhFzmQ5oOnu8zjno" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/GwfxqMHZNbwiw6PJBVhs" alt=""><figcaption><p>Dec 2024 相關統計</p></figcaption></figure>

### 區間變化 <a href="#interval-variations" id="interval-variations"></a>

每個項目會依照區間以折線圖呈現，可以分別顯示，或改成隨區間累積的數字顯示，下方也能看到相關資訊。

<figure><img src="/files/a0RIM1s70nLoPlkkiWID" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/BpLsD2NvDicifbXeTCQU" alt=""><figcaption></figcaption></figure>

### 交易明細 <a href="#transactions" id="transactions"></a>

你可以點擊統計區塊的記錄類型，右邊的交易明細會自動顯示相關的記錄：

<figure><img src="/files/lEo6zKymWNXRRsncwsGL" alt=""><figcaption></figcaption></figure>

也可以點擊右上角的排序按鈕，選擇依金額排序或其他方式：

<figure><img src="/files/OlzVul9VTEpWHwLbJvzV" alt=""><figcaption></figcaption></figure>

## 其他比較報表範例

<figure><img src="/files/s72hKdD8RwvVSqIIEO2E" alt=""><figcaption><p>專案比較報表</p></figcaption></figure>

<figure><img src="/files/i3oeb5AbwMe2dEfrKUxA" alt=""><figcaption><p>帳戶分組比較報表</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.moze.app/analysis/comparison-report.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
