---
title: Table.ColumnCount
url: https://www.thepexcel.com/functions/power-query/table-functions/table-columncount/
type: function-explainer
program: Power Query
syntax: table_columncount(value as any) as any
date: 2025-12-03
updated: 2025-12-17
scores:
  popularity: 6
  difficulty: 2
  usefulness: 6
---

# Table.ColumnCount

> Table.ColumnCount

## คำอธิบาย

Table.ColumnCount ใช้สำหรับการประมวลผล

## Syntax

```excel
table_columncount(value as any) as any
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| value | Yes | any |  | ค่าที่ต้องการประมวลผล |

## ตัวอย่าง

### 1. ตัวอย่างที่ 1

```excel
table_columncount(data)
```

**ผลลัพธ์:** `ผลลัพธ์`

การใช้งานพื้นฐาน

### 2. ตัวอย่างที่ 2

```excel
table_columncount(input)
```

**ผลลัพธ์:** `ผลลัพธ์ที่ประมวลผล`

ใช้กับข้อมูลต่างๆ

### 3. ตัวอย่างที่ 3

```excel
let result = table_columncount(myData) in result
```

**ผลลัพธ์:** `ผลลัพธ์สุดท้าย`

ใช้ในสูตร let...in

## หมายเหตุเพิ่มเติม

⚠️ ฟังก์ชันสำหรับการประมวลผล

## คำถามที่พบบ่อย

**Q: ฟังก์ชันนี้ใช้สำหรับอะไร**

Table.ColumnCount ใช้สำหรับการประมวลผล

**Q: ข้อมูลส่งเข้าจำเป็นต้องมีรูปแบบไหน**

ข้อมูลสามารถเป็นข้อมูลประเภทต่างๆ

## แหล่งข้อมูลเพิ่มเติม

- [Microsoft Learn: Power Query M](https://learn.microsoft.com/en-us/powerquery-m/table-columncount) _(documentation)_

---

_Source: [https://www.thepexcel.com/functions/power-query/table-functions/table-columncount/](https://www.thepexcel.com/functions/power-query/table-functions/table-columncount/)_
