CUSTOMDATA
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Returns the content of the CustomData property in the connection string.
Syntax
CUSTOMDATA()
Return value
The content of the CustomData property in the connection string.
Blank, if CustomData property was not defined at connection time.
Remarks
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Example
The following DAX formula verifies if the CustomData property was set to "OK".
= IF(CUSTOMDATA()="OK", "Correct Custom data in connection string", "No custom data in connection string property or unexpected value")
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho