Thep Excel

Cube.ReplaceDimensionsแทนที่ Dimensions

Cube.ReplaceDimensions แทนที่ dimensions ในคิวบ์ด้วย dimensions อื่น

fx
=cube_replacedimensions(value) as any

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

อัปเดต 12 December 2025

Syntax & Arguments

อาร์กิวเมนต์ ชนิด คำอธิบาย
value any ค่าที่ต้องการประมวลผล

Cube.ReplaceDimensions – แทนที่ Dimensions

Examples

ตัวอย่างที่ 1cube_replacedimensions(data)

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

fx
=cube_replacedimensions(data)

ผลลัพธ์ผลลัพธ์
ตัวอย่างที่ 2cube_replacedimensions(#date(2025,12,12))

ใช้กับวันที่

fx
=cube_replacedimensions(#date(2025,12,12))

ผลลัพธ์true
ตัวอย่างที่ 3let result = cube_replacedimensions(today) in result

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

fx
let result = cube_replacedimensions(today) in result

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

FAQs

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

Cube.ReplaceDimensions แทนที่ dimensions ในคิวบ์ด้วย dimensions อื่น

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

ข้อมูลต้องเป็นค่าวันที่ (date) หรือวันที่และเวลา (datetime)

Resources & Related

Comments

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