CData Cloud offers access to Azure Analysis Services across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to Azure Analysis Services through CData Cloud.
CData Cloud allows you to standardize and configure connections to Azure Analysis Services as though it were any other OData endpoint or standard SQL Server.
This page provides a guide to Establishing a Connection to Azure Analysis Services in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.
Establishing a Connection shows how to authenticate to Azure Analysis Services and configure any necessary connection properties to create a database in CData Cloud
Accessing data from Azure Analysis Services through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.
Connect to Azure Analysis Services by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.
To connect, set the URL property to a valid Azure Analysis Services server, for instance, asazure://southcentralus.asazure.windows.net/server, in addition to authenticating.
Optionally, set Database to distinguish which Azure database on the server to connect to.
Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".
Microsoft Entra ID is a multi-tenant, cloud-based identity and access management platform. It supports OAuth-based authentication flows that enable the Cloud to access Azure Analysis Services endpoints securely.
Authentication to Entra ID via a web application always requires that you first create and register a custom OAuth application. This enables your application to define its own redirect URI, manage credential scope, and comply with organization-specific security policies.
For full instructions on how to create and register a custom OAuth application, see Creating an Entra ID (Azure AD) Application.
After setting AuthScheme to AzureAD, the steps to authenticate vary, depending on the environment. For details on how to connect from desktop applications, web-based workflows, or headless systems, see the following sections.
Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".
Azure Service Principal is role-based application-based authentication. This means that authentication is done per application, rather than per user.
All tasks taken on by the application are executed without a default user context, but based on the assigned roles.
The application access to the resources is controlled through the assigned roles' permissions.
For information about how to set up Azure Service Principal authentication, see Creating a Service Principal App in Entra ID (Azure AD).
To authenticate directly to Azure Active Directory using your Azure credentials, specify the following connection properties:
If you are running Azure Analysis Services on an Azure VM and want to automatically obtain Managed Service Identity (MSI) credentials to connect, set AuthScheme to AzureMSI.
If your VM has multiple user-assigned managed identities, you must also specify OAuthClientId.
Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".
Azure Analysis Services supports OAuth-based authentication using Microsoft Entra ID. If you will connect via a web application and want to authenticate via Entra ID, you must first register a custom OAuth application in the Entra Admin Center, as described below.
If you will connect via a desktop application or headless machine, you can authenticate using Azure Analysis Services's built-in embedded application credentials, which use CData branding. However, custom OAuth applications are also compatible with desktop and headless authentication flows, and may be preferable for production deployments or environments requiring strict policy control.
To register an OAuth application in Microsoft Entra ID, follow these steps:
Note: If you select Accounts in this organizational directory only when you connect with the CData Cloud, you must set AzureTenant to the tenant's ID (either GUID or verified domain). Otherwise, authentication will fail.
Azure Analysis Services is an OLAP database that exposes data as cubes, which you query with MDX (multidimensional expressions). The Cloud models these cubes in relational views that you can query with SQL-92. The following mapping is for the layout of the model:
In order to retrieve measures per specific level value, issue a join between the Measure view and any Dimension or
set of dimensions. For example, issuing the following retrieves the number of customers in each city:
SELECT m.[Customer Count], c.[City] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
Note that there is no ON condition necessary. That is because tables are already related appropriately in Azure Analysis Services. If you are using a tool that requires ON conditions, set IncludeJoinColumns to true. This appends a number of foreign key columns to each view, relating them to one another. These columns do not return data on their own, but may be picked up on automatically with tools to construct the ON conditions for joins where needed.
Data stored in Azure Analysis Services is already aggregated. In many cases, attempting to retrieve
an aggregate may be syntactically equivalent to not specifying anything. For example,
the following query returns the exact same data as the previous:
SELECT SUM(m.[Customer Count]), c.[City] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m GROUP BY c.[City]
The exception to this rule is when an aggregation of filtered results is requested.
In such cases, a calculation is requested from Azure Analysis Services. For example, to
calculate the sum and average of customers in France and Germany:
SELECT SUM(m.[Customer Count]), AVG(m.[Customer Count]), c.[Country]
FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c
INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
WHERE c.[Country] IN ('France', 'Germany')
GROUP BY c.[Country]
In Azure Analysis Services, individual dimensions are made up of hierarchies which may have one or more levels. For instance, the AdventureWorks Customers table has City, Country, and Gender. City and Country are part of the same hierarchy while Gender is its own hierarchy.
When selecting multiple hierarchies, the method to support this is to cross join the values in MDX. While not obvious
from a relational table model of the data as the Cloud presents, this can cause very expensive queries to
be executed. For example, executing the following:
SELECT c.[Country], m.[Customer Count] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
The query results in 6 rows. However, selecting Gender as well:
SELECT c.[Country], c.[Gender], m.[Customer Count] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
The query now results in 12 rows. This is because Gender and Country are on different hierarchies, thus a crossjoin
is required in order to return both together. Each additional hierarchy added to the SELECT multiplies the
total results by the number of available values in that hierarchy. Thus to get a count of how many rows to
expect, one can execute the following:
SELECT (Count(c.[Country])*Count(c.[Gender])) AS totalrows FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c
Due to how selecting multiple hierarchies multiplies the total number of result rows, it is possible to balloon the number of response rows very quickly, which results in timeouts. In order to try to give some visibility into which queries are very expensive, the ResponseRowLimit connection property has been added as a mechanism to try and guide users into better practices. When set, it calculates how many rows to expect before any query is executed. If the number of predicted rows exceeds the limit, an error is thrown indicating how many rows to expect back with the query.
It is recommended to select only the columns required or to apply a WHERE criteria. Both can significantly reduce the number of response rows, which has a huge impact on performance. If you are already familiar with the Cloud and what queries may be expensive, ResponseRowLimit may be disabled by setting it to 0.
For tabular data models, the Cloud supports an alternative DAX-based query mode. Set QueryMode to DAX to enable this mode.
In DAX mode, the Cloud translates SQL queries into DAX (Data Analysis Expressions) instead of MDX. The data model exposes tables and columns directly from the tabular model, with a single global "Measures" view containing all model-defined measures:
Querying Measures in DAX Mode
To retrieve measure values sliced by dimension columns, use a CROSS JOIN (or INNER JOIN) between the dimension and the Measures view:
SELECT c.Country, m.[Total Sales] FROM Customers c CROSS JOIN Measures m
Inline Aggregations in DAX Mode
DAX mode supports natural inline aggregations grouped by dimension columns:
SELECT c.Country, SUM(s.Amount) AS TotalSales FROM Sales s INNER JOIN Customers c ON s.CustomerID = c.CustomerID GROUP BY c.Country
Advantages of DAX Mode
DAX mode is recommended for tabular models because it offers simpler data type mapping, efficient semantic JOINs via SUMMARIZECOLUMNS, natural support for DISTINCTCOUNT and SUMX, and no hierarchy cross-join multiplication.
When QueryMode is set to MDX, the Cloud translates SQL queries into MDX (Multidimensional Expressions) for execution against OLAP cube models. This page is a comprehensive guide to how SQL constructs map to MDX queries.
| SQL Query | MDX Query |
SELECT * FROM [Adventure Works].Measures | SELECT
{
[Measures].[Average Sales Amount],
[Measures].[Customer Count],
...
} ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT [City], [Country] FROM [Adventure Works].Customer | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
CROSSJOIN(
[Customer].[Customer Geography].[City].ALLMEMBERS,
[Customer].[Customer Geography].[Country].ALLMEMBERS
),
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT [Education] FROM [Adventure Works].Customer | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Education].[Education].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
Note: When querying only dimension columns, the Cloud creates a placeholder measure ([Microsoft.Mashup.Engine.One]) to enable row generation. The ALLMEMBERS function returns all members at the specified hierarchy level.
| SQL Query | MDX Query |
SELECT [City] FROM [Adventure Works].Customer WHERE [Country] = 'United States' | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].[Country].&[United States] },
[Customer].[Customer Geography].[City],
LEAVES
)
),
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT [Education]
FROM [Adventure Works].Customer
WHERE [Country] IN ('Australia', 'United States') | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Education].[Education].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
WHERE
{
[Customer].[Customer Geography].[Country].&[Australia],
[Customer].[Customer Geography].[Country].&[United States]
}
CELL PROPERTIES VALUE |
SELECT [Education] FROM [Adventure Works].Customer WHERE [Country] = 'Australia' AND [Gender] = 'Male' | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Education].[Education].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
WHERE
CROSSJOIN(
{ [Customer].[Customer Geography].[Country].&[Australia] },
{ [Customer].[Gender].&[Male] }
)
CELL PROPERTIES VALUE |
Note: Filters on different dimensions use CROSSJOIN in the MDX WHERE clause to create an AND condition.
| SQL Query | MDX Query |
SELECT m.[Customer Count] FROM [Adventure Works].Measures AS m | SELECT
{ [Measures].[Customer Count] } ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT c.[City], c.[Country], m.[Customer Count] FROM [Adventure Works].Customer AS c INNER JOIN [Adventure Works].Measures AS m | SELECT
{ [Measures].[Customer Count] } ON 0,
SUBSET(
NONEMPTY(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].[Country].ALLMEMBERS },
[Customer].[Customer Geography].[City],
LEAVES
)
),
{ [Measures].[Customer Count] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT c.[City], c.[Gender], p.[Class],
m.[Average Sales Amount], m.[Average Unit Price]
FROM [Adventure Works].Customer AS c
INNER JOIN [Adventure Works].Product AS p
INNER JOIN [Adventure Works].Measures AS m | SELECT
{
[Measures].[Average Sales Amount],
[Measures].[Average Unit Price]
} ON 0,
SUBSET(
NONEMPTY(
CROSSJOIN(
CROSSJOIN(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].[Country].ALLMEMBERS },
[Customer].[Customer Geography].[City],
LEAVES
)
),
[Customer].[Gender].[Gender].ALLMEMBERS
),
[Product].[Class].[Class].ALLMEMBERS
),
{ [Measures].[Average Sales Amount],
[Measures].[Average Unit Price] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
Many BI tools require explicit JOIN syntax with an ON clause. The Cloud adds a virtual MeasuresId column to every table for this purpose. An INNER JOIN on MeasuresId is treated identically to a CROSS JOIN with the Measures table:
| SQL Query | MDX Query |
SELECT c.[Country], m.[Customer Count] FROM [Adventure Works].Customer AS c INNER JOIN [Adventure Works].Measures AS m ON c.MeasuresId = m.MeasuresId | SELECT
{ [Measures].[Customer Count] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Customer Geography].[Country].ALLMEMBERS,
{ [Measures].[Customer Count] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
| SQL Query | MDX Query |
SELECT MAX(m.[Customer Count]) AS mymax FROM [Adventure Works].Customer AS c INNER JOIN [Adventure Works].Measures AS m | WITH MEMBER Measures.[mymax] AS ([Measures].[Customer Count])
SELECT
{
[Measures].[mymax]
} ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT SUM(m.[Customer Count]) AS sum
FROM [Adventure Works].Customer AS c
INNER JOIN [Adventure Works].Measures AS m
WHERE c.[Country] IN ('United States', 'Australia')
GROUP BY c.[Country] | WITH MEMBER Measures.[sum] AS ([Measures].[Customer Count])
SELECT
{ [Measures].[sum] } ON 0,
SUBSET(
NONEMPTY(
{ [Customer].[Customer Geography].[Country].&[Australia],
[Customer].[Customer Geography].[Country].&[United States] },
{ [Measures].[sum] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT COUNT(c.[Country]) AS count FROM [Adventure Works].Customer AS c | WITH MEMBER Measures.[count] AS COUNT (
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].CurrentMember },
[Customer].[Customer Geography].[Country],
SELF
)
)
)
SELECT
{ [Measures].[count] } ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT COUNT(c.[City]) AS count FROM [Adventure Works].Customer AS c WHERE c.Country = 'Australia' | WITH MEMBER Measures.[count] AS COUNT (
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].[Country].&[Australia] },
[Customer].[Customer Geography].[City],
SELF
)
)
)
SELECT
{ [Measures].[count] } ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
| SQL Query | MDX Query |
SELECT [Education] FROM [Adventure Works].Customer ORDER BY [Education] ASC | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
ORDER(
NONEMPTY(
[Customer].[Education].[Education].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
),
[Customer].[Education].CurrentMember.MEMBER_CAPTION, BASC
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
SELECT c.[City], c.[Country], m.[Customer Count] FROM [Adventure Works].Customer AS c INNER JOIN [Adventure Works].Measures AS m WHERE m.[Customer Count] > 0 ORDER BY m.[Customer Count] | SELECT
{
[Measures].[Customer Count]
} ON 0,
SUBSET(
ORDER(
NONEMPTY(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{
[Customer].[Customer Geography].[Country].ALLMEMBERS
},
[Customer].[Customer Geography].[City],
LEAVES
)
),
{
[Measures].[Customer Count]
}
),
[Measures].[Customer Count], BASC
)
,@__CDATA_OFFSET)
HAVING [Measures].[Customer Count] > 0 PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
The ORDER function uses these sort flags:
| BASC | Break-Ascending (preserves hierarchy structure, ascending) |
| BDESC | Break-Descending (preserves hierarchy structure, descending) |
| SQL Query | MDX Query |
SELECT [City], [Country] FROM [Adventure Works].Customer WHERE [Country] = 'United States' LIMIT 20 OFFSET 10 | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].[Country].&[United States] },
[Customer].[Customer Geography].[City],
LEAVES
)
),
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET,@__CDATA_LIMIT)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
The SUBSET function signature is SUBSET(set, start_index, [count]). The @__CDATA_OFFSET and @__CDATA_LIMIT parameters are replaced at execution time.
| SQL Query | MDX Query |
SELECT CASE [Country]
WHEN 'United States' THEN 'States'
ELSE 'Not States'
END AS StatesOrNoStates
FROM [Adventure Works].Customer | WITH MEMBER Measures.[StatesOrNoStates] AS
CASE [Customer].[Customer Geography].CurrentMember.MEMBER_CAPTION
WHEN 'United States' THEN 'States'
ELSE 'Not States'
END
SELECT
{ [Measures].[StatesOrNoStates] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Customer Geography].[Country].ALLMEMBERS,
{ [Measures].[StatesOrNoStates] }
),
@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
| SQL Query | MDX Query |
SELECT m.[Customer Count] FROM [Adventure Works].Customer AS c INNER JOIN [Adventure Works].Measures AS m WHERE m.[Customer Count] > 100 AND c.[Country] = 'Australia' GROUP BY c.[City] | SELECT
{
[Measures].[Customer Count]
} ON 0,
SUBSET(
NONEMPTY(
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{
[Customer].[Customer Geography].[Country].&[Australia]
},
[Customer].[Customer Geography].[City],
LEAVES
)
),
{
[Measures].[Customer Count]
}
)
,@__CDATA_OFFSET)
HAVING [Measures].[Customer Count] > 100 PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
| SQL Query | MDX Query |
SELECT DISTINCT [Country] FROM [Adventure Works].Customer | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Customer Geography].[Country].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
| SQL Query | MDX Query |
SELECT COUNT(DISTINCT c.[City]) AS citycount,
COUNT(DISTINCT c.[Country]) AS countrycount
FROM [Adventure Works].Customer AS c | WITH MEMBER Measures.[citycount] AS COUNT (
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].CurrentMember },
[Customer].[Customer Geography].[City],
SELF
)
)
)
MEMBER Measures.[countrycount] AS COUNT (
ADDCALCULATEDMEMBERS(
DESCENDANTS(
{ [Customer].[Customer Geography].CurrentMember },
[Customer].[Customer Geography].[Country],
SELF
)
)
)
SELECT
{ [Measures].[citycount], [Measures].[countrycount] } ON 0
FROM [Adventure Works]
CELL PROPERTIES VALUE |
LIKE filters are not natively supported in MDX. The Cloud retrieves all members at the relevant hierarchy level (using ALLMEMBERS) and applies the LIKE pattern on the client side.
| SQL Query | MDX Query |
SELECT [Country] FROM [Adventure Works].Customer WHERE [Country] LIKE 'United%' | WITH MEMBER [Measures].[Microsoft.Mashup.Engine.One] AS 1
SELECT
{ [Measures].[Microsoft.Mashup.Engine.One] } ON 0,
SUBSET(
NONEMPTY(
[Customer].[Customer Geography].[Country].ALLMEMBERS,
{ [Measures].[Microsoft.Mashup.Engine.One] }
)
,@__CDATA_OFFSET)
PROPERTIES MEMBER_CAPTION ON 1
FROM [Adventure Works]
CELL PROPERTIES VALUE |
The following table summarizes key MDX functions used in query translation:
| MDX Function | Purpose |
| CROSSJOIN(set1, set2) | Cartesian product of two sets |
| NONEMPTY(set, [measure_set]) | Removes tuples with empty cells |
| SUBSET(set, start, [count]) | Returns subset for pagination (LIMIT/OFFSET) |
| ORDER(set, expression, flag) | Sorts set by expression (ORDER BY) |
| FILTER(set, condition) | Filters set by boolean condition (WHERE) |
| DESCENDANTS(member, level, flag) | Navigates hierarchy to descendant level |
| ADDCALCULATEDMEMBERS(set) | Includes calculated members in result |
| ALLMEMBERS | Returns all members at hierarchy level |
| COUNT(set) | Counts members in set |
| WITH MEMBER | Defines calculated measure (aggregate functions) |
MDX uses DESCENDANTS to navigate parent-child relationships in hierarchies:
| DESCENDANTS Flag | Behavior |
| LEAVES | Returns leaf-level members (default for dimension queries) |
| SELF | Returns members at specified level only (for COUNT) |
When QueryMode is set to DAX, the Cloud translates SQL queries into DAX (Data Analysis Expressions) for execution against tabular data models. This page provides a comprehensive reference for how SQL constructs map to DAX queries.
| SQL Query | DAX Query |
SELECT * FROM Sales | EVALUATE 'Sales' |
SELECT EmpName, Title FROM Employees | EVALUATE
SELECTCOLUMNS(
'Employees',
"EmpName", 'Employees'[EmpName],
"Title", 'Employees'[Title]
) |
SELECT EmpName AS Name, Title AS Role FROM Employees | EVALUATE
SELECTCOLUMNS(
'Employees',
"Name", 'Employees'[EmpName],
"Role", 'Employees'[Title]
) |
| SQL Query | DAX Query |
SELECT EmpName FROM Employees WHERE Title = 'Rep' | EVALUATE
SELECTCOLUMNS(
FILTER('Employees',
'Employees'[Title] = "Rep"),
"EmpName", 'Employees'[EmpName]
) |
SELECT * FROM Sales WHERE Amount > 100 | EVALUATE
SELECTCOLUMNS(
FILTER('Sales', 'Sales'[Amount] > 100),
"col1", 'Sales'[col1],
"coln", 'Sales'[coln],
) |
SELECT City FROM Stores WHERE Country = 'USA' OR Country = 'UK' | EVALUATE
SELECTCOLUMNS(
FILTER('Stores',
'Stores'[Country] = "USA"
|| 'Stores'[Country] = "UK"),
"City", 'Stores'[City]
) |
SELECT City FROM Stores
WHERE City IN ('NYC', 'London') | EVALUATE
SELECTCOLUMNS(
FILTER('Stores',
'Stores'[City] IN {"NYC", "London"}),
"City", 'Stores'[City]
) |
SELECT City FROM Stores
WHERE Country NOT IN ('UK') | EVALUATE
SELECTCOLUMNS(
FILTER('Stores',
NOT('Stores'[Country] IN {"UK"})),
"City", 'Stores'[City]
) |
SELECT EmpName FROM Employees WHERE Title IS NOT NULL | EVALUATE
SELECTCOLUMNS(
FILTER('Employees',
'Employees'[Title] <> BLANK()),
"EmpName", 'Employees'[EmpName]
) |
Note: LIKE filters are not natively supported in DAX. The Cloud retrieves all rows and applies LIKE filtering on the client side.
| SQL Query | DAX Query |
SELECT m.[Total Amount] FROM Measures m | EVALUATE
SUMMARIZECOLUMNS(
"Total Amount", [Total Amount]
) |
SELECT s.Country, m.[Total Amount] FROM Stores s CROSS JOIN Measures m | EVALUATE
SUMMARIZECOLUMNS(
'Stores'[Country],
"Total Amount", [Total Amount]
) |
SELECT e.Title, s.Country,
m.[Total Amount], m.[Total Units]
FROM Employees e
CROSS JOIN Stores s
CROSS JOIN Measures m | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[Title],
'Stores'[Country],
"Total Amount", [Total Amount],
"Total Units", [Total Units]
) |
SELECT e.EmpName, m.[Total Amount] FROM Employees e CROSS JOIN Measures m WHERE e.Title = 'Rep' | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[EmpName],
FILTER('Employees',
'Employees'[Title] = "Rep"),
"Total Amount", [Total Amount]
) |
Many BI tools require explicit JOIN syntax with an ON clause. The Cloud adds a virtual MeasuresId column to every table for this purpose. An INNER JOIN on MeasuresId is treated identically to a CROSS JOIN with the Measures table:
| SQL Query | DAX Query |
SELECT s.Country, m.[Total Amount] FROM Stores s INNER JOIN Measures m ON s.MeasuresId = m.MeasuresId | EVALUATE
SUMMARIZECOLUMNS(
'Stores'[Country],
"Total Amount", [Total Amount]
) |
| SQL Query | DAX Query |
SELECT SUM(Amount) FROM Sales | EVALUATE
ROW("SUM", SUM('Sales'[Amount])) |
SELECT COUNT(*) FROM Sales | EVALUATE
ROW("COUNT", COUNTROWS('Sales')) |
SELECT COUNT(Amount) FROM Sales | EVALUATE
ROW("COUNT", COUNT('Sales'[Amount])) |
SELECT s.Country, SUM(sa.Amount) FROM Stores s INNER JOIN Sales sa ON s.StoreID = sa.StoreID GROUP BY s.Country | EVALUATE
SUMMARIZECOLUMNS(
'Stores'[Country],
"SUM", SUM('Sales'[Amount])
) |
SELECT s.Country,
AVG(sa.Amount),
MIN(sa.Units),
MAX(sa.Amount)
FROM Stores s
INNER JOIN Sales sa
ON s.StoreID = sa.StoreID
GROUP BY s.Country | EVALUATE
SUMMARIZECOLUMNS(
'Stores'[Country],
"AVG", AVERAGE('Sales'[Amount]),
"MIN", MIN('Sales'[Units]),
"MAX", MAX('Sales'[Amount])
) |
When the SUM aggregate function contains an arithmetic expression rather than a single column, the Cloud uses the SUMX function:
| SQL Query | DAX Query |
SELECT e.EmpName,
SUM(sa.Amount * sa.Units)
FROM Employees e
INNER JOIN Sales sa
ON e.EmpID = sa.EmpID
GROUP BY e.EmpName | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[EmpName],
"SUM", SUMX('Sales',
'Sales'[Amount] * 'Sales'[Units])
) |
The following table summarizes the SQL-to-DAX aggregate function mapping:
| SQL Function | DAX Function |
SUM(col) | SUM('Table'[col]) |
COUNT(*) | COUNTROWS('Table') - Counts all rows |
COUNT(col) | COUNT('Table'[col]) - Ignores blanks |
COUNT(DISTINCT col) | DISTINCTCOUNT('Table'[col]) |
AVG(col) | AVERAGE('Table'[col]) |
MIN(col) | MIN('Table'[col]) |
MAX(col) | MAX('Table'[col]) |
SUM(expr) | SUMX('Table', expr) - Iterator version for expressions |
| SQL Query | DAX Query |
SELECT e.EmpName, sa.Amount FROM Employees e INNER JOIN Sales sa ON e.EmpID = sa.EmpID | EVALUATE
SELECTCOLUMNS(
NATURALINNERJOIN('Employees', 'Sales'),
"EmpName", 'Employees'[EmpName],
"Amount", 'Sales'[Amount]
) |
SELECT e.EmpName, s.City, sa.Amount FROM Employees e INNER JOIN Sales sa ON e.EmpID = sa.EmpID INNER JOIN Stores s ON sa.StoreID = s.StoreID | EVALUATE
SELECTCOLUMNS(
NATURALINNERJOIN(
NATURALINNERJOIN(
'Employees', 'Sales'),
'Stores'),
"EmpName", 'Employees'[EmpName],
"City", 'Stores'[City],
"Amount", 'Sales'[Amount]
) |
| SQL Query | DAX Query |
SELECT e.EmpName, SUM(sa.Amount) FROM Employees e LEFT JOIN Sales sa ON e.EmpID = sa.EmpID GROUP BY e.EmpName | EVALUATE
ADDCOLUMNS(
VALUES('Employees'[EmpName]),
"SUM", CALCULATE(SUM('Sales'[Amount]))
) |
| SQL Query | DAX Query |
SELECT e.EmpName, s.City FROM Employees e CROSS JOIN Stores s | EVALUATE
GENERATE(
SELECTCOLUMNS('Employees',
"EmpName", 'Employees'[EmpName]),
SELECTCOLUMNS('Stores',
"City", 'Stores'[City])
) |
Note: RIGHT JOIN and FULL OUTER JOIN are not supported in DAX mode. The Cloud returns an error if these join types are used.
| SQL Query | DAX Query |
SELECT s.Country, m.[Total Amount] FROM Stores s CROSS JOIN Measures m HAVING m.[Total Amount] > 500 | EVALUATE
FILTER(
SUMMARIZECOLUMNS(
'Stores'[Country],
"Total Amount", [Total Amount]
),
[Total Amount] > 500
) |
SELECT s.City, SUM(sa.Amount) FROM Stores s INNER JOIN Sales sa ON s.StoreID = sa.StoreID GROUP BY s.City HAVING SUM(sa.Amount) > 500 AND COUNT(sa.Units) < 10 | EVALUATE
FILTER(
SUMMARIZECOLUMNS(
'Stores'[City],
"SUM", SUM('Sales'[Amount])
),
([SUM] > 500 && COUNT('Sales'[Units]) < 10)
) |
| SQL Query | DAX Query |
SELECT EmpName, Title FROM Employees ORDER BY Title ASC | EVALUATE
SELECTCOLUMNS(
'Employees',
"EmpName", 'Employees'[EmpName],
"Title", 'Employees'[Title]
)
ORDER BY [Title] ASC |
SELECT e.EmpName, m.[Total Amount] FROM Employees e CROSS JOIN Measures m ORDER BY m.[Total Amount] DESC | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[EmpName],
"Total Amount", [Total Amount]
)
ORDER BY [Total Amount] DESC |
If the ORDER BY column is not in the SELECT list, the Cloud automatically includes it in the DAX projection so it is available for sorting.
| SQL Query | DAX Query |
SELECT EmpName FROM Employees ORDER BY EmpName DESC LIMIT 2 | EVALUATE
TOPN(2,
SELECTCOLUMNS(
'Employees',
"EmpName", 'Employees'[EmpName]
),
[EmpName], DESC
) |
SELECT EmpID FROM Employees LIMIT 2 | EVALUATE
TOPN(2,
SELECTCOLUMNS(
'Employees',
"EmpID", 'Employees'[EmpID]
)
) |
DAX does not have a native OFFSET. The Cloud handles offset by requesting LIMIT + OFFSET rows via TOPN and discarding the initial OFFSET rows before returning results.
| SQL Query | DAX Query |
SELECT DISTINCT Title FROM Employees | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[Title]
) |
Queries that use SUMMARIZECOLUMNS (such as measure queries or GROUP BY) already return distinct results, so DISTINCT is not applied redundantly in those cases.
| SQL Query | DAX Query |
SELECT e.EmpName
FROM Employees e
WHERE e.EmpID IN (
SELECT EmpID FROM Sales
WHERE Amount > 300
) | EVALUATE
SELECTCOLUMNS(
FILTER('Employees',
'Employees'[EmpID] IN
SELECTCOLUMNS(
FILTER('Sales',
'Sales'[Amount] > 300),
"EmpID", 'Sales'[EmpID]
)
),
"EmpName", 'Employees'[EmpName]
) |
| SQL Query | DAX Query |
SELECT e.Title,
COUNT(DISTINCT sa.EmpID)
FROM Employees e
INNER JOIN Sales sa
ON e.EmpID = sa.EmpID
GROUP BY e.Title | EVALUATE
SUMMARIZECOLUMNS(
'Employees'[Title],
"COUNT", DISTINCTCOUNT('Sales'[EmpID])
) |
Setting the following other properties may also be useful in certain situations:
Setting this property to true causes all queries to be passed through directly to Azure Analysis Services.
These do not come back with any values - they are added purely to enable tools that require them in order to automatically set up relationships between tables when creating joins.
Because queries are being translated to MDX, selecting only a few columns may exponentially multiply the number of expected results.
For this reason, ResponseRowLimit is available to try to give some guidance on what types of queries are likely to result in a Timeout. May be disabled by setting to 0.
To enable TLS, set the following:
With this configuration, the Cloud attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.
To specify another certificate, see the SSLServerCert connection property.
The Azure Analysis Services Cloud also supports setting client certificates. Set the following to connect using a client certificate.
To authenticate to an HTTP proxy, set the following:
Set the following properties:
Azure Analysis Services is an OLAP database that exposes data as cubes, which you query with MDX (multidimensional expressions). The Cloud models these cubes in relational views that you can query with SQL-92. The following mapping is for the layout of the model:
In the default MDX mode (QueryMode = MDX), the Cloud models the data as follows:
By default, all measure attributes are listed in a 'Measures' view. However, you can set SplitMeasures to 'true' to split the measures view; the result is each measure attribute is included in its respective view based on the Measure Group value. Further classification based on 'Measure Directories' is not included.
When QueryMode is set to DAX, the Cloud uses DAX metadata functions (INFO.TABLES, INFO.VIEW.COLUMNS, INFO.MEASURES) to discover the tabular model structure. This mode is designed for tabular data models and provides a simpler relational representation.
The DAX data model exposes the following objects:
By default, all measures are grouped in a single "Measures" view. You can use SplitMeasures and SplitMeasuresOn to control how measures are organized:
If a DisplayFolder name conflicts with an existing table name, the generated table is prefixed with "Measures_" to avoid ambiguity (e.g., "Measures_Sales").
DAX mode translates SQL queries into DAX expressions. The following SQL patterns are supported:
Aggregate functions including SUM, AVG, MIN, MAX, COUNT, and DISTINCTCOUNT are supported and translate directly to their DAX equivalents. For example:
SELECT City, SUM(Amount) FROM Sales GROUP BY City
Complex arithmetic expressions within aggregates are also supported. For example,
SUM(Price * Quantity)translates to a SUMX iterator that evaluates the expression row by row.
To retrieve measures sliced by dimension values, join a table with the Measures view using CROSS JOIN or INNER JOIN:
SELECT s.City, m.[Total Amount] FROM Stores s CROSS JOIN Measures m
The Cloud translates this into a DAX SUMMARIZECOLUMNS expression that leverages the model's built-in relationships for efficient evaluation.
INNER JOIN and LEFT JOIN between physical tables are also supported and use DAX NATURALINNERJOIN and ADDCOLUMNS patterns respectively.
WHERE clauses (including IN lists and IS NULL checks), ORDER BY, DISTINCT, LIMIT, and HAVING are all supported. LIMIT translates to DAX TOPN for server-side row limiting.
In order to retrieve measures per specific level value, issue a join between the Measure view and any Dimension or
set of dimensions. For example, issuing the following retrieves the number of customers in each city:
SELECT m.[Customer Count], c.[City] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
Note that there is no ON condition necessary. That is because tables are already related appropriately in Azure Analysis Services. If you are using a tool that requires ON conditions, set IncludeJoinColumns to true. This appends a number of foreign key columns to each view, relating them to one another. These columns do not return data on their own, but may be picked up on automatically with tools to construct the ON conditions for joins where needed.
Data stored in Azure Analysis Services is already aggregated. In many cases, attempting to retrieve
an aggregate may be syntactically equivalent to not specifying anything. For example,
the following query returns the exact same data as the previous:
SELECT SUM(m.[Customer Count]), c.[City] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m GROUP BY c.[City]
The exception to this rule is when an aggregation of filtered results is requested.
In such cases, a calculation is requested from Azure Analysis Services. For example, to
calculate the sum and average of customers in France and Germany:
SELECT SUM(m.[Customer Count]), AVG(m.[Customer Count]), c.[Country]
FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c
INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
WHERE c.[Country] IN ('France', 'Germany')
GROUP BY c.[Country]
In Azure Analysis Services, individual dimensions are made up of hierarchies which may have one or more levels. For instance, the AdventureWorks Customers table has City, Country, and Gender. City and Country are part of the same hierarchy while Gender is its own hierarchy.
When selecting multiple hierarchies, the method to support this is to cross join the values in MDX. While not obvious
from a relational table model of the data as the Cloud presents, this can cause very expensive queries to
be executed. For example, executing the following:
SELECT c.[Country], m.[Customer Count] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
The query results in 6 rows. However, selecting Gender as well:
SELECT c.[Country], c.[Gender], m.[Customer Count] FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c INNER JOIN [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Measures AS m
The query now results in 12 rows. This is because Gender and Country are on different hierarchies, thus a crossjoin
is required in order to return both together. Each additional hierarchy added to the SELECT multiplies the
total results by the number of available values in that hierarchy. Thus to get a count of how many rows to
expect, one can execute the following:
SELECT (COUNT(c.[Country])*COUNT(c.[Gender])) AS totalrows FROM [AdventureWorksDW2012Multidimensional-SE].[Adventure Works].Customer AS c
Due to how selecting multiple hierarchies multiplies the total number of result rows, it is possible to balloon the number of response rows very quickly, which results in timeouts. In order to try to give some visibility into which queries are very expensive, the ResponseRowLimit connection property has been added as a mechanism to try and guide users into better practices. When set, it calculates how many rows to expect before any query is executed. If the number of predicted rows exceeds the limit, an error is thrown indicating how many rows to expect back with the query.
It is recommended to select only the columns required or to apply a WHERE criteria. Both can significantly reduce the number of response columns, which has a huge impact on performance. If you are already familiar with the Cloud and what queries may be expensive, ResponseRowLimit may be disabled by setting it to 0.
Dynamic Management Views (DMVs) are queries that return information about model objects, server operations, and the server health of your Azure Analysis Services instance.
These objects can be queried through the Cloud by setting QueryPassthrough to 'true' and issuing the desired query:
SELECT * FROM $System.DBSchema_Tables WHERE TABLE_TYPE = 'SCHEMA' ORDER BY TABLE_NAME ASCNote that the DMV query syntax is based on a SQL SELECT statement, but does not support its full syntax. See the Analysis Services documentation on DMVs for more information.
You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.
The following tables return database metadata for Azure Analysis Services:
The following tables return information about how to connect to and query the data source:
The following table returns query statistics for data modification queries
Lists the available databases.
The following query retrieves all databases determined by the connection string:
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | The database name. |
Lists the available schemas.
The following query retrieves all available schemas:
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | The database name. |
| SchemaName | String | The schema name. |
Lists the available tables.
The following query retrieves the available tables and views:
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | The database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view. |
| TableType | String | The table type (table or view). |
| Description | String | A description of the table or view. |
| IsUpdateable | Boolean | Whether the table can be updated. |
| IsInsertable | Boolean | Whether the table can be inserted into. |
| IsDeleteable | Boolean | Whether rows can be deleted from the table. |
Describes the columns of the available tables and views.
The following query returns the columns and data types for the [adventureworks].[Model].Customer table:
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName = 'Customer' AND CatalogName = 'adventureworks' AND SchemaName = 'Model'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view containing the column. |
| ColumnName | String | The column name. |
| DataTypeName | String | The data type name. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| Length | Int32 | The storage size of the column. |
| DisplaySize | Int32 | The designated column's normal maximum width in characters. |
| NumericPrecision | Int32 | The maximum number of digits in numeric data. The column length in characters for character and date-time data. |
| NumericScale | Int32 | The column scale or number of digits to the right of the decimal point. |
| IsNullable | Boolean | Whether the column can contain null. |
| Description | String | A brief description of the column. |
| Ordinal | Int32 | The sequence number of the column. |
| IsAutoIncrement | String | Whether the column value is assigned in fixed increments. |
| IsGeneratedColumn | String | Whether the column is generated. |
| IsHidden | Boolean | Whether the column is hidden. |
| IsArray | Boolean | Whether the column is an array. |
| IsReadOnly | Boolean | Whether the column is read-only. |
| IsKey | Boolean | Indicates whether a field returned from sys_tablecolumns is the primary key of the table. |
| ColumnType | String | The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN. |
| ColumnCapabilities | Int32 | A bit mask denoting the column's write capabilities. The value is the sum of the following: 1 if the column is required for INSERTs, 2 if the column is allowed for INSERTs, and 4 if the column is allowed for UPDATEs. A value of 0 indicates that the write capabilities of the column are unknown or that the column is read-only. |
Lists the available stored procedures.
The following query retrieves the available stored procedures:
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | The database containing the stored procedure. |
| SchemaName | String | The schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure. |
| Description | String | A description of the stored procedure. |
| ProcedureType | String | The type of the procedure, such as PROCEDURE or FUNCTION. |
Describes stored procedure parameters.
The following query returns information about all of the input parameters for the SelectEntries stored procedure:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SelectEntries' AND Direction = 1 OR Direction = 2
To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SelectEntries' AND IncludeResultColumns='True'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the stored procedure. |
| SchemaName | String | The name of the schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure containing the parameter. |
| ColumnName | String | The name of the stored procedure parameter. |
| Direction | Int32 | An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| DataTypeName | String | The name of the data type. |
| NumericPrecision | Int32 | The maximum precision for numeric data. The column length in characters for character and date-time data. |
| Length | Int32 | The number of characters allowed for character data. The number of digits allowed for numeric data. |
| NumericScale | Int32 | The number of digits to the right of the decimal point in numeric data. |
| IsNullable | Boolean | Whether the parameter can contain null. |
| IsRequired | Boolean | Whether the parameter is required for execution of the procedure. |
| IsArray | Boolean | Whether the parameter is an array. |
| Description | String | The description of the parameter. |
| Ordinal | Int32 | The index of the parameter. |
| Values | String | The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated. |
| SupportsStreams | Boolean | Whether the parameter represents a file that you can pass as either a file path or a stream. |
| IsPath | Boolean | Whether the parameter is a target path for a schema creation operation. |
| Default | String | The value used for this parameter when no value is specified. |
| SpecificName | String | A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here. |
| IsCDataProvided | Boolean | Whether the procedure is added/implemented by CData, as opposed to being a native Azure Analysis Services procedure. |
| Name | Type | Description |
| IncludeResultColumns | Boolean | Whether the output should include columns from the result set in addition to parameters. Defaults to False. |
Describes the primary and foreign keys.
The following query retrieves the primary key for the [adventureworks].[Model].Customer table:
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Customer' AND CatalogName='adventureworks' AND SchemaName='Model'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| IsKey | Boolean | Whether the column is a primary key in the table referenced in the TableName field. |
| IsForeignKey | Boolean | Whether the column is a foreign key referenced in the TableName field. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
Describes the foreign keys.
The following query retrieves all foreign keys which refer to other tables:
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
| ForeignKeyType | String | Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key. |
Describes the primary keys.
The following query retrieves the primary keys from all tables and views:
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| KeySeq | String | The sequence number of the primary key. |
| KeyName | String | The name of the primary key. |
Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.
The following query retrieves all indexes that are not primary keys:
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the index. |
| SchemaName | String | The name of the schema containing the index. |
| TableName | String | The name of the table containing the index. |
| IndexName | String | The index name. |
| ColumnName | String | The name of the column associated with the index. |
| IsUnique | Boolean | True if the index is unique. False otherwise. |
| IsPrimary | Boolean | True if the index is a primary key. False otherwise. |
| Type | Int16 | An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3). |
| SortOrder | String | The sort order: A for ascending or D for descending. |
| OrdinalPosition | Int16 | The sequence number of the column in the index. |
Returns information on the available connection properties and those set in the connection string.
The following query retrieves all connection properties that have been set in the connection string or set through a default value:
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | The name of the connection property. |
| ShortDescription | String | A brief description. |
| Type | String | The data type of the connection property. |
| Default | String | The default value if one is not explicitly set. |
| Values | String | A comma-separated list of possible values. A validation error is thrown if another value is specified. |
| Value | String | The value you set or a preconfigured default. |
| Required | Boolean | Whether the property is required to connect. |
| Category | String | The category of the connection property. |
| IsSessionProperty | String | Whether the property is a session property, used to save information about the current connection. |
| Sensitivity | String | The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms. |
| PropertyName | String | A camel-cased truncated form of the connection property name. |
| Ordinal | Int32 | The index of the parameter. |
| CatOrdinal | Int32 | The index of the parameter category. |
| Hierarchy | String | Shows dependent properties associated that need to be set alongside this one. |
| Visible | Boolean | Informs whether the property is visible in the connection UI. |
| ETC | String | Various miscellaneous information about the property. |
Describes the SELECT query processing that the Cloud can offload to the data source.
See SQL Compliance for SQL syntax details.
Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.
| Name | Description | Possible Values |
| AGGREGATE_FUNCTIONS | Supported aggregation functions. | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | Whether COUNT function is supported. | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | The opening character used to escape an identifier. | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | The closing character used to escape an identifier. | ] |
| SUPPORTED_OPERATORS | A list of supported SQL operators. | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | Whether GROUP BY is supported, and, if so, the degree of support. | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | The supported varieties of outer joins supported. | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | Whether outer joins are supported. | YES, NO |
| SUBQUERIES | Whether subqueries are supported, and, if so, the degree of support. | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | Supported string functions. | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | Supported numeric functions. | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | Supported date/time functions. | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | Indicates tables skipped during replication. | |
| REPLICATION_TIMECHECK_COLUMNS | A string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication. | |
| IDENTIFIER_PATTERN | String value indicating what string is valid for an identifier. | |
| SUPPORT_TRANSACTION | Indicates if the provider supports transactions such as commit and rollback. | YES, NO |
| DIALECT | Indicates the SQL dialect to use. | |
| KEY_PROPERTIES | Indicates the properties which identify the uniform database. | |
| SUPPORTS_MULTIPLE_SCHEMAS | Indicates if multiple schemas may exist for the provider. | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | Indicates if multiple catalogs may exist for the provider. | YES, NO |
| DATASYNCVERSION | The CData Data Sync version needed to access this driver. | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | The CData Data Sync category of this driver. | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | Whether enhanced SQL functionality beyond what is offered by the API is supported. | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | Whether batch operations are supported. | YES, NO |
| SQL_CAP | All supported SQL capabilities for this driver. | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | A string value specifies the preferred cacheOptions. | |
| ENABLE_EF_ADVANCED_QUERY | Indicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side. | YES, NO |
| PSEUDO_COLUMNS | A string array indicating the available pseudo columns. | |
| MERGE_ALWAYS | If the value is true, The Merge Mode is forcibly executed in Data Sync. | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | A select query to return the replicate start datetime. | |
| REPLICATION_MIN_FUNCTION | Allows a provider to specify the formula name to use for executing a server side min. | |
| REPLICATION_START_DATE | Allows a provider to specify a replicate startdate. | |
| REPLICATION_MAX_DATE_QUERY | A select query to return the replicate end datetime. | |
| REPLICATION_MAX_FUNCTION | Allows a provider to specify the formula name to use for executing a server side max. | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | A list of tables which will skip dividing the replicate into chunks on the initial replicate. | |
| CHECKCACHE_USE_PARENTID | Indicates whether the CheckCache statement should be done against the parent key column. | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | Indicates stored procedures that can be used for generating schema files. |
The following query retrieves the operators that can be used in the WHERE clause:
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.
| Name | Type | Description |
| NAME | String | A component of SQL syntax, or a capability that can be processed on the server. |
| VALUE | String | Detail on the supported SQL or SQL syntax. |
Returns information about attempted modifications.
The following query retrieves the Ids of the modified rows in a batch operation:
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | The database-generated Id returned from a data modification operation. |
| Batch | String | An identifier for the batch. 1 for a single operation. |
| Operation | String | The result of the operation in the batch: INSERTED, UPDATED, or DELETED. |
| Message | String | SUCCESS or an error message if the update in the batch failed. |
Describes the available system information.
The following query retrieves all columns:
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | The name of the product. |
| Version | String | The version number of the product. |
| Datasource | String | The name of the datasource the product connects to. |
| NodeId | String | The unique identifier of the machine where the product is installed. |
| HelpURL | String | The URL to the product's help documentation. |
| License | String | The license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.) |
| Location | String | The file path location where the product's library is stored. |
| Environment | String | The version of the environment or rumtine the product is currently running under. |
| DataSyncVersion | String | The tier of CData Sync required to use this connector. |
| DataSyncCategory | String | The category of CData Sync functionality (e.g., Source, Destination). |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT operations with Azure Analysis Services.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Azure Analysis Services, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials.
| Name | Type | Description |
| CallbackUrl | String | The URL the user will be redirected to after authorizing your application. This value must match the Reply URL in the Azure AD app settings. |
| State | String | The same value for state that you sent when you requested the authorization code. |
| Name | Type | Description |
| URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app. |
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.
For more information on establishing a connection, see Establishing a Connection.
| Property | Description |
| AuthScheme | The type of authentication to use when connecting to Azure Analysis Services. |
| URL | The URL used to connect to the Azure Analysis Services. |
| QueryMode | The query language used to translate SQL queries when interacting with Azure Analysis Services. Select MDX or DAX to determine the query mode used. |
| User | Specifies the authenticating user's user ID. |
| Password | Specifies the authenticating user's password. |
| Property | Description |
| AzureTenant | Identifies the Azure Analysis Services tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID. |
| AzureEnvironment | Specifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added. |
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
| Scope | A space-separated list of scopes. |
| Property | Description |
| OAuthJWTCert | Supplies the name of the client certificate's JWT Certificate store. |
| OAuthJWTCertType | Identifies the type of key store containing the JWT Certificate. |
| OAuthJWTCertPassword | Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank. |
| OAuthJWTCertSubject | Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate. |
| Property | Description |
| SSLClientCert | Specifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection. |
| SSLClientCertType | Specifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source. |
| SSLClientCertPassword | Specifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access. |
| SSLClientCertSubject | Specifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store. |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
| Catalog | The Analysis Services catalog to use. This may also be known as a Database from within Analysis Services. |
| IncludeJoinColumns | Set this to true to include extra join columns on each table. |
| Property | Description |
| CustomHeaders | Specifies additional HTTP headers to append to the request headers created from other properties, such as ContentType and From. Use this property to customize requests for specialized or nonstandard APIs. |
| ExposeMemberKeys | Determines if each level should be converted into a measure, allowing calculations to be performed on the measure. |
| ExpressionInDescription | Set this to true to report expressions as part of the description on measure columns. |
| ExtraProperties | Additional properties to submit on each MDX request to Azure Analysis Services. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| ResponseRowLimit | The number of response rows to allow before erroring. Set to 0 for no limit. |
| ShowHiddenEntities | Set this to true to include hidden dimensions, measures, and levels. |
| SplitMeasures | Set this to true to split Measures table into individual tables. |
| SplitMeasuresOn | Use this property in conjunction with SplitMeasures to set the priority for how measures should be organized into tables. |
| ThrowsKeyNotFound | Specifies whether or not throws an exception if there is no rows updated. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
| Property | Description |
| AuthScheme | The type of authentication to use when connecting to Azure Analysis Services. |
| URL | The URL used to connect to the Azure Analysis Services. |
| QueryMode | The query language used to translate SQL queries when interacting with Azure Analysis Services. Select MDX or DAX to determine the query mode used. |
| User | Specifies the authenticating user's user ID. |
| Password | Specifies the authenticating user's password. |
The type of authentication to use when connecting to Azure Analysis Services.
string
"AzureAD"
The URL used to connect to the Azure Analysis Services.
string
""
The HTTP or HTTPS URL used to connect to the Azure Analysis Services in the format asazure://[region].asazure.windows.net/[server]. You can obtain the server name in the Azure portal -> Overview -> Server name.
The query language used to translate SQL queries when interacting with Azure Analysis Services. Select MDX or DAX to determine the query mode used.
string
"MDX"
This property controls whether the Cloud translates SQL queries into MDX (Multidimensional Expressions) or DAX (Data Analysis Expressions) when executing queries against Azure Analysis Services.
Available values are:
Interaction with QueryPassthrough
The QueryPassthrough property can be used for query passthrough regardless of this setting. When QueryPassthrough is true, raw queries (MDX or DAX) are sent directly to Azure Analysis Services without SQL translation.
Specifies the authenticating user's user ID.
string
""
The authenticating server requires both User and Password to validate the user's identity.
Specifies the authenticating user's password.
string
""
The authenticating server requires both User and Password to validate the user's identity.
This section provides a complete list of the Azure Authentication properties you can configure in the connection string for this provider.
| Property | Description |
| AzureTenant | Identifies the Azure Analysis Services tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID. |
| AzureEnvironment | Specifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added. |
Identifies the Azure Analysis Services tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID.
string
""
A tenant is a digital container for your organization's users and resources, managed through Microsoft Entra ID (formerly Azure AD). Each tenant is associated with a unique directory ID, and often with a custom domain (for example, microsoft.com or contoso.onmicrosoft.com).
To find the directory (tenant) ID in the Microsoft Entra Admin Center, navigate to Microsoft Entra ID > Properties and copy the value labeled "Directory (tenant) ID".
This property is required in the following cases:
You can provide the tenant value in one of two formats:
Specifying the tenant explicitly ensures that the authentication request is routed to the correct directory, which is especially important when a user belongs to multiple tenants or when using service principal–based authentication.
If this value is omitted when required, authentication may fail or connect to the wrong tenant. This can result in errors such as unauthorized or resource not found.
Specifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added.
string
"GLOBAL"
Required if your Azure account is part of a different network than the Global network, such as China, USGOVT, or USGOVTDOD.
This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
| Scope | A space-separated list of scopes. |
Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
string
""
This property is required in two cases:
(When the driver provides embedded OAuth credentials, this value may already be provided by the Cloud and thus not require manual entry.)
OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.
OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.
While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.
For more information on how this property is used when configuring a connection, see Establishing a Connection.
Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
string
""
This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.
The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.
OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.
Notes:
For more information on how this property is used when configuring a connection, see Establishing a Connection
A space-separated list of scopes.
string
""
Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.
When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.
When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.
This connection property specifies the list of OAuth scopes to be requested.
When left empty, the driver automatically selects the appropriate Azure Analysis Services scope based on the AzureEnvironment and the authentication flow in use.
This section provides a complete list of the JWT OAuth properties you can configure in the connection string for this provider.
| Property | Description |
| OAuthJWTCert | Supplies the name of the client certificate's JWT Certificate store. |
| OAuthJWTCertType | Identifies the type of key store containing the JWT Certificate. |
| OAuthJWTCertPassword | Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank. |
| OAuthJWTCertSubject | Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate. |
Supplies the name of the client certificate's JWT Certificate store.
string
""
The OAuthJWTCertType field specifies the type of the certificate store specified in OAuthJWTCert. If the store is password-protected, use OAuthJWTCertPassword to supply the password..
OAuthJWTCert is used in conjunction with the OAuthJWTCertSubject field in order to specify client certificates. If OAuthJWTCert has a value, and OAuthJWTCertSubject is set, the CData Cloud initiates a search for a certificate. For further information, see OAuthJWTCertSubject.
Designations of certificate stores are platform-dependent.
Notes
Identifies the type of key store containing the JWT Certificate.
string
"PEMKEY_BLOB"
| Value | Description | Notes |
| USER | A certificate store owned by the current user. | Only available in Windows. |
| MACHINE | A machine store. | Not available in Java or other non-Windows environments. |
| PFXFILE | A PFX (PKCS12) file containing certificates. | |
| PFXBLOB | A string (base-64-encoded) representing a certificate store in PFX (PKCS12) format. | |
| JKSFILE | A Java key store (JKS) file containing certificates. | Only available in Java. |
| JKSBLOB | A string (base-64-encoded) representing a certificate store in Java key store (JKS) format. | Only available in Java. |
| PEMKEY_FILE | A PEM-encoded file that contains a private key and an optional certificate. | |
| PEMKEY_BLOB | A string (base64-encoded) that contains a private key and an optional certificate. | |
| PUBLIC_KEY_FILE | A file that contains a PEM- or DER-encoded public key certificate. | |
| PUBLIC_KEY_BLOB | A string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate. | |
| SSHPUBLIC_KEY_FILE | A file that contains an SSH-style public key. | |
| SSHPUBLIC_KEY_BLOB | A string (base-64-encoded) that contains an SSH-style public key. | |
| P7BFILE | A PKCS7 file containing certificates. | |
| PPKFILE | A file that contains a PPK (PuTTY Private Key). | |
| XMLFILE | A file that contains a certificate in XML format. | |
| XMLBLOB | Astring that contains a certificate in XML format. | |
| BCFKSFILE | A file that contains an Bouncy Castle keystore. | |
| BCFKSBLOB | A string (base-64-encoded) that contains a Bouncy Castle keystore. |
Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
string
""
This property specifies the password needed to open a password-protected certificate store. To determine if a password is necessary, refer to the documentation or configuration for your specific certificate store.
Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
string
"*"
The value of this property is used to locate a matching certificate in the store. The search process works as follows:
You can set the value to '*' to automatically select the first certificate in the store. The certificate subject is a comma-separated list of distinguished name fields and values. For example: CN=www.server.com, OU=test, C=US, [email protected].
Common fields include:
| Field | Meaning |
| CN | Common Name. This is commonly a host name like www.server.com. |
| O | Organization |
| OU | Organizational Unit |
| L | Locality |
| S | State |
| C | Country |
| E | Email Address |
If a field value contains a comma, enclose it in quotes. For example: "O=ACME, Inc.".
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
| Property | Description |
| SSLClientCert | Specifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection. |
| SSLClientCertType | Specifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source. |
| SSLClientCertPassword | Specifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access. |
| SSLClientCertSubject | Specifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store. |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
Specifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection.
string
""
This property specifies the client certificate store for SSL Client Authentication. Use this property alongside SSLClientCertType, which defines the type of the certificate store, and SSLClientCertPassword, which specifies the password for password-protected stores. When SSLClientCert is set and SSLClientCertSubject is configured, the driver searches for a certificate matching the specified subject.
Certificate store designations vary by platform. On Windows, certificate stores are identified by names such as MY (personal certificates), while in Java, the certificate store is typically a file containing certificates and optional private keys.
The following are designations of the most common User and Machine certificate stores in Windows:
| MY | A certificate store holding personal certificates with their associated private keys. |
| CA | Certifying authority certificates. |
| ROOT | Root certificates. |
| SPC | Software publisher certificates. |
For PFXFile types, set this property to the filename. For PFXBlob types, set this property to the binary contents of the file in PKCS12 format.
Specifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source.
string
"PEMKEY_BLOB"
This property determines the format and location of the key store used to provide the client certificate. Supported values include platform-specific and universal key store formats. The available values and their usage are:
| USER - default | For Windows, this specifies that the certificate store is a certificate store owned by the current user. Note that this store type is not available in Java. |
| MACHINE | For Windows, this specifies that the certificate store is a machine store. Note that this store type is not available in Java. |
| PFXFILE | The certificate store is the name of a PFX (PKCS12) file containing certificates. |
| PFXBLOB | The certificate store is a string (base-64-encoded) representing a certificate store in PFX (PKCS12) format. |
| JKSFILE | The certificate store is the name of a Java key store (JKS) file containing certificates. Note that this store type is only available in Java. |
| JKSBLOB | The certificate store is a string (base-64-encoded) representing a certificate store in JKS format. Note that this store type is only available in Java. |
| PEMKEY_FILE | The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate. |
| PEMKEY_BLOB | The certificate store is a string (base64-encoded) that contains a private key and an optional certificate. |
| PUBLIC_KEY_FILE | The certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate. |
| PUBLIC_KEY_BLOB | The certificate store is a string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate. |
| SSHPUBLIC_KEY_FILE | The certificate store is the name of a file that contains an SSH-style public key. |
| SSHPUBLIC_KEY_BLOB | The certificate store is a string (base-64-encoded) that contains an SSH-style public key. |
| P7BFILE | The certificate store is the name of a PKCS7 file containing certificates. |
| PPKFILE | The certificate store is the name of a file that contains a PuTTY Private Key (PPK). |
| XMLFILE | The certificate store is the name of a file that contains a certificate in XML format. |
| XMLBLOB | The certificate store is a string that contains a certificate in XML format. |
| BCFKSFILE | The certificate store is the name of a file that contains an Bouncy Castle keystore. |
| BCFKSBLOB | The certificate store is a string (base-64-encoded) that contains a Bouncy Castle keystore. |
Specifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access.
string
""
This property provides the password needed to open a password-protected certificate store. This property is necessary when using certificate stores that require a password for decryption, as is often recommended for PFX or JKS type stores.
If the certificate store type does not require a password, for example USER or MACHINE on Windows, this property can be left blank. Ensure that the password matches the one associated with the specified certificate store to avoid authentication errors.
Specifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store.
string
"*"
This property determines which client certificate to load based on its subject. The Cloud searches for a certificate that exactly matches the specified subject. If no exact match is found, the Cloud looks for certificates containing the value of the subject. If no match is found, no certificate is selected.
The subject should follow the standard format of a comma-separated list of distinguished name fields and values. For example, CN=www.server.com, OU=Test, C=US. Common fields include the following:
| Field | Meaning |
| CN | Common Name. This is commonly a host name like www.server.com. |
| O | Organization |
| OU | Organizational Unit |
| L | Locality |
| S | State |
| C | Country |
| E | Email Address |
Note: If any field contains special characters, such as commas, the value must be quoted. For example: CN="Example, Inc.", C=US.
Specifies the certificate to be accepted from the server when connecting using TLS/SSL.
string
""
If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.
This property can take the following forms:
| Description | Example |
| A full PEM Certificate (example shortened for brevity) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| A path to a local file containing the certificate | C:\cert.cer |
| The public key (example shortened for brevity) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| The MD5 Thumbprint (hex values can also be either space- or colon-separated) | ecadbdda5a1529c58a1e9e09828d70e4 |
| The SHA1 Thumbprint (hex values can also be either space- or colon-separated) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
string
"1"
This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.
The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.
When combined with the LogModules property, Verbosity can refine logging to specific categories of information.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
| Catalog | The Analysis Services catalog to use. This may also be known as a Database from within Analysis Services. |
| IncludeJoinColumns | Set this to true to include extra join columns on each table. |
Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
string
""
Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.
The Analysis Services catalog to use. This may also be known as a Database from within Analysis Services.
string
""
This input is optional as catalogs are displayed by default. However, if you have QueryPassthrough set to true, this value ensures the MDX queries are submitted to the correct catalog.
Set this to true to include extra join columns on each table.
bool
false
Some tools may require an ON condition (or generate them automatically) based on foreign key references. By setting IncludeJoinColumns to true, every table includes a foreign key reference to the other tables. These columns do not return any data and are not useful for anything other than passing as ON conditions to perform joins upon.
In Azure Analysis Services, the dimensions and measures making up the tables are already related naturally. There is no context on which to join them provided. Therefore, the CData Cloud supports joining without specifying an ON condition, so they are optional to specify.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
| Property | Description |
| CustomHeaders | Specifies additional HTTP headers to append to the request headers created from other properties, such as ContentType and From. Use this property to customize requests for specialized or nonstandard APIs. |
| ExposeMemberKeys | Determines if each level should be converted into a measure, allowing calculations to be performed on the measure. |
| ExpressionInDescription | Set this to true to report expressions as part of the description on measure columns. |
| ExtraProperties | Additional properties to submit on each MDX request to Azure Analysis Services. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| ResponseRowLimit | The number of response rows to allow before erroring. Set to 0 for no limit. |
| ShowHiddenEntities | Set this to true to include hidden dimensions, measures, and levels. |
| SplitMeasures | Set this to true to split Measures table into individual tables. |
| SplitMeasuresOn | Use this property in conjunction with SplitMeasures to set the priority for how measures should be organized into tables. |
| ThrowsKeyNotFound | Specifies whether or not throws an exception if there is no rows updated. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
Specifies additional HTTP headers to append to the request headers created from other properties, such as ContentType and From. Use this property to customize requests for specialized or nonstandard APIs.
string
""
Use this property to add custom headers to HTTP requests sent by the Cloud.
This property is useful when fine-tuning requests to interact with APIs that require additional or nonstandard headers. Headers must follow the format "header: value" as described in the HTTP specifications and each header line must be separated by the carriage return and line feed (CRLF) characters. Important: Use caution when setting this property. Supplying invalid headers may cause HTTP requests to fail.
Determines if each level should be converted into a measure, allowing calculations to be performed on the measure.
bool
false
By default, all levels are of type String. Enabling this option allows a level to be resolved down to its key property, creating a measure that has the level's DBType data type. Calculations can then be performed on the measure.
Set this to true to report expressions as part of the description on measure columns.
bool
false
The Cloud reports the remarks for several types of entities (dimensions, measures, measure groups, and hierarchies) as table and column descriptions. By default, the Cloud includes only the remarks in measure column descriptions.
If this option is enabled, then the measure expression is included in the measure column description, along with the remarks. The descriptions on other types of entities are not affected.
Additional properties to submit on each MDX request to Azure Analysis Services.
string
""
You can use the ExtraProperties connection property to add extra values to the PropertiesList in the XMLA request. Use name=value pairs separated by a semicolon to submit the properties. For example, Catalog=MyCatalog;Cube=MyCube;.
A list of properties may be found by executing SELECT * FROM $System.DISCOVER_PROPERTIES.
Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
int
-1
The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)
Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.
This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.
The number of response rows to allow before erroring. Set to 0 for no limit.
int
100000
Selecting a lot of columns results in a number of crossjoins occurring under the hood when translated to something that is acceptable for Azure Analysis Services. This is not intuitive if you are not familiar with MDX. It can easily result in very large responses that time out. The ResponseRowLimit is designed to try to alert the user to understand what can be very expensive requests.
Set this to true to include hidden dimensions, measures, and levels.
bool
false
By default the Cloud does not report entities that Azure Analysis Services marks as hidden. Enabling this option allows you to query them.
Set this to true to split Measures table into individual tables.
bool
false
All measures are currently grouped into a single table 'Measures'. Set this to true to split Measures table into individual tables (if a table only contains measures) and include measures in their respective dimension tables.
Use this property in conjunction with SplitMeasures to set the priority for how measures should be organized into tables.
string
"MeasureGroup"
This property controls the order in which measure storage attributes are used to sort them into subtables when SplitMeasures is true. Provide a comma-delimited list of storage methods in the order they should be prioritized. Available values are:
Specifies whether or not throws an exception if there is no rows updated.
bool
false
Specifies whether or not throws an exception if there is no rows updated.
Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
int
60
The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.
Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.
Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.
Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.