# Header is

指定表格檔案的標頭大小。可以透過 header is 規範指定任意的標頭長度。標頭是 QlikView 不使用的文字區段。

語法：

header is n

header is line

header is n lines

可按位元組 (header is n) 或行數 (header is line 或 header is n lines) 指定標頭長度。n 必須是正整數，代表標頭長度。如果未指定，將採用 header is 0。header is 規範只與表格檔案有關。

範例：

這是包含標頭文字行的資料來源表格範例，這些文字行不應該由 QlikView 解譯為資料。

```
 
```

```
*Header line
Col1,Col2
a,B
c,D
```

```
 
```

使用 header is 1 lines 規範，第一行將不會作為資料載入。在範例中，embedded labels 規範告知 QlikView 將第一個非排除行解譯為包含欄位標籤。

LOAD Col1, Col2 FROM header.txt (txt, embedded labels, delimiter is ',', msq, header is 1 lines);

結果是包含兩個欄位的表格 (Col1 和 Col2)。

## 瞭解更多資訊

* [Load](https://help.qlik.com/zh-TW/qlikview/September2025/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Load.htm)