Analytics Queries
In Open Data Blend Analytics, any query that is submitted as DAX or MDX is considered an Analytics Query and counts towards your usage allowance.

DAX Queries

Data Analysis Expression (DAX) queries look like the following example.
1
DEFINE
2
VAR __DS0Core =
3
SUMMARIZECOLUMNS (
4
'Anonymised MOT Test Result Info'[Test Postcode Area Name],
5
"Anonymised_MOT_Test_Results", 'Calculation'[Anonymised MOT Test Results]
6
)
7
VAR __DS0PrimaryWindowed =
8
TOPN (
9
1001,
10
__DS0Core,
11
[Anonymised_MOT_Test_Results], 0,
12
'Anonymised MOT Test Result Info'[Test Postcode Area Name], 1
13
)
14
EVALUATE
15
__DS0PrimaryWindowed
16
ORDER BY
17
[Anonymised_MOT_Test_Results] DESC,
18
'Anonymised MOT Test Result Info'[Test Postcode Area Name]
19
Copied!
Examples of client tools that can generate these queries are Power BI Desktop and Power BI Report Builder.

MDX Queries

Multidimensional Expression (MDX) queries look like the following example.
1
SELECT {
2
[Measures].[English Prescription Actual Cost],
3
[Measures].[English Prescription Items Total Quantity],
4
[Measures].[English Prescription Items],
5
[Measures].[English Prescription Quantity],
6
[Measures].[English Prescriptions]
7
},
8
NON EMPTY [Prescribing Practice].[Prescribing Practice Code (Source)].[Prescribing Practice Code (Source)].AllMembers ON ROWS
9
FROM [Model]
Copied!
Examples of client tools that can generate these queries are Excel and Tableau Desktop.

Generated Queries

Client tools such as Excel, Power BI Desktop, and Tableau Desktop will typically generate one query per visualisation (e.g. charts, graphics, tables, etc). Placing too many visuals on a single dashboard or report page can cause each refresh of the display send several queries to send the Open Data Blend Analytics service. This behaviour should be considered when making dashboard and report design decisions.

Query Limits

To keep the Open Data Blend Analytics service responsive, we have put some query limits in place.

Rows Limit

The number of rows that a single Analytics Query can return is 10,000. Any queries that exceed this limit will automatically be cancelled and return an error to the client tool.

Memory Limit

Analytics Queries have a limit placed on the amount of memory that they can consume. Any queries that exceed this limit will automatically be cancelled and return an error to the client tool.
Last modified 7mo ago