Thep Excel

List.Intersectอินเตอร์เซกต์ List

หาสมาชิกที่มีอยู่ร่วมกันในทุก List (Set Intersection)

fx
=List.Intersect(lists as list, optional equationCriteria as any) as list

ความนิยม5/10
ความยาก3/10
ประโยชน์5/10

อัปเดต 3 December 2025

Syntax & Arguments

อาร์กิวเมนต์ ชนิด คำอธิบาย
lists list List ของ List

ฟังก์ชัน List.Intersect ใน Power Query ใช้สำหรับหาสมาชิกที่มีอยู่ร่วมกันในทุก List (Set Intersection)

Examples

IntersectList.Intersect({{1, 2}, {2, 3}})

เอาเฉพาะตัวที่มีทั้งคู่

fx
=List.Intersect({{1, 2}, {2, 3}})

ผลลัพธ์{2}

Resources & Related

ฟังก์ชันที่ผู้เขียนโยงไว้กับ List.Intersect จัดกลุ่มตามหมวด · ชี้ที่ชื่อใดชื่อหนึ่ง แล้วฟังก์ชันที่ใช้คู่กันจะมีจุดทอง

ฟังก์ชันนี้List.IntersectList functions
List functions (2)
List.Difference

หาสมาชิกที่อยู่ใน List แรกแต่ไม่อยู่ใน List ที่สอง (Set Difference)

List.Union

รวม List โดยตัดตัวซ้ำออก (Set Union)

Comments

อีเมลของคุณจะไม่ถูกเผยแพร่