CUSTOMDATA

Updated on

CUSTOMDATA is a DAX function that returns the value of the CustomData connection string property if defined, otherwise it returns BLANK.

Syntax

CUSTOMDATA( )

Return Values

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")

Other functions related to CUSTOMDATA are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/customdata-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy