# 儀表板

你可以在這裡查看到你的權限可以查看的任何資料。

<figure><img src="/files/70SIvn9xdolh5ypUzNtc" alt=""><figcaption><p>儀表板</p></figcaption></figure>

### 儀表板搭配真人客服

在真人客服下，點選技能，會將擁有者改為匿名使用者，你可以透過匿名使用者新增該客戶的姓名、電子郵件或該客戶提供的檔案。

### 包含

* 調整欄位: 可以隱藏/顯示欄位，可以將欄位改成file(可以分享十分鐘連結給其他人)，公式，以及連結表單。
* 過濾: 可根據數值過濾資料
* 排序: 可根據更新或新增列(row)的方式排序，或按照時間或是數字，目前不支援文字。
* 分組: 可以分組成總數、基數(distinct)、求和、最大值、最小值、平均，關鍵字可以根據關鍵字分組，數字可以根據範圍做分組，日期可以跟年/月/日分組。

### 連結欄位

可以跟其他表單做連結。

### 公式

目前公式包含以下，欄位只能使用於相同列(row)，無法跟其他列作計算公式

* IF

```
IF({{bool}}, 'go', 'stop') // 如果bool=true則go，反之則stop
```

* ABS

```
ABS({{value}}) //絕對值 例如 ABS(-9) 輸出 9
```

* MAX
* MIN
* SUM
* AVERAGE

```
MAX({{price1}}, {{price2}}, {{price3}})//找出最大值(至少兩個數字以上)
MIN({{price1}}, {{price2}}, {{price3}})//找出最小值(至少兩個數字以上)
SUM({{price1}}, {{price2}}, {{price3}}) // 輸出三個加總(至少兩個數字以上)
AVERAGE({{price1}}, {{price2}}, {{price3}}) // 輸出三個平均(至少兩個數字以上)
```

* SQRT

```
SQRT({{value}}) //開根號
```

* RAND

```
RAND() //輸出0(包含)-1(不包含)之間的數字
```

* !&#x20;

```
IF(!{{bool}}, 'go', 'stop') // 如果bool=false則go，反之則stop
```

* \+ (加號)- (減號)\* (乘號)/  (除號)> (大於)= (等於)<(小於)^(平方)

```
{{price}}*{{quantity}}
```

### 日期公式

* DATETIME\_DIFF

```
DATETIME_DIFF('day', {{start}}, {{end}}) //可以算出start跟end之間的天數
可以使用於year,month, day, hour, minute, seconds
```

* DATETIME\_FORMAT

```
DATETIME_FORMAT({{start}}, 'yyyy-MM-dd') // 將輸出以後者格式
```

* TODAY

```
TODAY() //輸出今日
```

* WEEKDAY

```
WEEKDAY({{start}}) //可以輸出此日星期，星期一的輸出是1，星期日的輸出是7，中間以此類推
```

* DAY

```
DAY({{start}}) //輸出月份的日期
```

* MONTH

```
MONTH({{start}}) // 輸出月份
```

* YEAR

```
YEAR({{start}}) //輸出年份
```


---

# Agent Instructions: 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:

```
GET https://docs.dmflow.chat/dashboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
