0% found this document useful (0 votes)
113 views7 pages

Power BI Connector for Microsoft CQD Setup

This document provides instructions for installing and using the Power BI Connector for Microsoft Advanced Call Quality Dashboard (CQD), including setup, building queries, and creating drillthrough reports. It outlines the installation steps, limitations of the connector, common error codes, and frequently asked questions regarding performance and usage. The connector is currently in beta but has been officially signed for security and functionality by the Power BI team.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views7 pages

Power BI Connector for Microsoft CQD Setup

This document provides instructions for installing and using the Power BI Connector for Microsoft Advanced Call Quality Dashboard (CQD), including setup, building queries, and creating drillthrough reports. It outlines the installation steps, limitations of the connector, common error codes, and frequently asked questions regarding performance and usage. The connector is currently in beta but has been officially signed for security and functionality by the Power BI team.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Power BI Connector for Microsoft Advanced CQD

Last release: May 12, 2020

This article describes how to install the Power BI Connector file MicrosoftCallQuality.pqx so you can use
it with the downloaded CQD Power BI query templates (PBIX files). For information about the PBIX files,
see “Readme – Power BI query templates for Microsoft Teams CQD.docx.”

Installation
The process for installing a custom connector and adjusting security to enable use of the connector is
described in detail in the Power BI documentation. For the sake of simplicity, here’s a quick explanation:

1. Check to see if your computer already has a [Documents]\Power BI Desktop\Custom


Connectors folder. If not, create this folder.1
2. Download the connector file (either a *.mez or *.pqx file) and place it in the Custom Connectors
directory.
3. If the connector file is a *.mez file, you will also need to adjust your security settings as
described in the custom connector setup documentation.

If a new version of this Power BI Connector for Microsoft Teams is released, simply replace the old
connector file in the Custom Connectors directory with the new file.

Setup
In order to build a report and run queries, you will first need to connect to the CQD data source. Follow
the steps below in order to connect:

1. In the Home tab of Power BI Desktop, click on Get Data.

2. The Get Data window should appear at this point. Navigate to Online Services, then select
Microsoft Call Quality (Beta) and hit Connect.

3. You will be prompted to login next. Use the same credentials that you use for CQD. 2
4. The next prompt will give you the option between two Data Connectivity modes. Select
DirectQuery and hit OK.
5. Finally, you will be given a final prompt showing you the entire data model for CQD. No data will
be visible at this point, only the data model for CQD. Select Load to complete the setup process.
6. At this point, Power BI will load the data model onto the right side of the window. The page will
remain otherwise blank, and no queries will be loaded by default. Proceed to Building Queries
below in order to build a query and return data.

If any of the steps during this setup process were not completely clear, a more detailed explanation of
the process can be found here.

Building Queries
Once setup is complete, you should see the names of several hundred dimensions and measures load in
the Fields pane. Constructing actual queries from here is simple, just select the dimensions and
measures you want for your query, then drag and drop them onto the page. Here’s a more detailed
explanation, with a simple example:

1. Select the visualization you want to use from the Visualizations pane. A blank version of that
visualization should appear on the page. For the purposes of this example, we will be using the
Table visualization.

2. Determine which dimensions and measures (denoted by an aggregation symbol by their name)
you wish to use for your query, then manually select them and drag them onto the black
visualization. Alternately, drag them onto the Values field beneath the visualization options.
Important Note: Call Quality Dashboard requires a measure for any query to run. Failure to add
a measure to a query will cause that query to fail.

3. Next, select any dimensions you want to filter on and drag them to the Filters on this visual field
in the Filters pane. The CQD Power BI Connector currently supports Basic filtering (select values
from a list of possible dimension values), Advanced filtering (manually specify values and
operands to filter on, similar to Advanced CQD), and Relative date filtering (only available for the
End Time and Start Time dimensions). Filtering according to Top N is not supported by CQD.

4. Finally, select the Format tab within the Visualizations pane to style and format your query.

Note: CQD queries require at least one measure in order to run. If your query does not load, double
check that you have included a measure in the query.

Creating a Drillthrough Report


Drillthrough in Power BI allows you to create focused reports that you can quickly filter using the values
of other reports as context. Once you know how to create your first query with the CQD Connector,
creating a drillthrough is even simpler.

1. Create another page for the focused report, and then add your queries to that page.
2. Select the dimension you want to use as a drillthrough filter and drag them onto the
Drillthrough field under on the Visualizations pane.

3. That’s it! Any other query on another page that uses that dimension can now drillthrough to
that page, automatically applying the drillthrough dimension’s value as a filter.

Unlike Advanced CQD, Power BI supports non-sequential drillthrough. So long as a query includes the
necessary dimension, it can drillthrough to any other page.

Limitations
Despite making use of Power BI, not all Power BI functionality is support by the CQD Connector, either
as a result of limitations on CQD data model or on DirectQuery connectors in general. The list below
notes some of the Connector’s more noteworthy limitations, but this list should not be considered
exhaustive:

1. Calculated Columns – DirectQuery connectors in general have limited support for calculated
columns in Power BI. While some calculated columns may work with the Connector, these
should be considered exceptions. As a general rule, calculated columns will not function.

2. Aggregations – The CQD data model is built on a cube model, meaning that aggregations are
already supported in the form of measures. Attempting to manually add aggregations to
different dimensions or changing the aggregation type of a measure will not work with the
Connector, and it will generally result in an error.

3. Custom Visuals – While the CQD Connector does work with a range of custom visuals, we are
unable to guarantee compatibility with all custom visuals. Many custom visuals rely on the use
of calculated columns or imported data, neither or which are supported by DirectQuery
connectors.

4. Referencing Cached Data – Power BI currently does not support referencing cached data from a
DirectQuery connector in any way. Any attempt to reference the results of a query will result in
a new query.

5. Relative Date Filtering – This is supported in the CQD Connector, but only with the Start Time
and End Time dimensions. Although the Date dimension may be the obvious choice for relative
date filtering, Date is not stored as a date time object and thus does not support relative date
filtering in Power BI.

Please note, although the Connector is in preview, these limitations are unlikely to change with the final
release of the Connector. Most of these issues are either restrictions to DirectQuery connector design in
Power BI or fundamental to the design of the CQD data model.

Error Codes
Because the CQD Power BI Connector is less restricted than the browser app in terms of kinds of queries
you can construct, you may occasionally encounter a number of errors while building your queries. In
the event that you receive an error message of the type “CQDError. RunQuery – Query Execution Error”,
reference the list below with the ErrorType number provided in order to troubleshoot the possible issue
with the query. The following are the most common Error Type codes you may encounter with the CQD
Power BI Connector:

 ErrorType 1 - Query Structure Error: A query structure error is typically caused by the Connector
failing to build a properly formatted query. This happens most often when using unsupported
functionality, as specified in the Limitations above. Double check that you are not using any
calculated columns or custom visuals for that query.

 ErrorType 2 - Query Building Error: A query building error is caused by the CQD Connector being
unable to properly parse the query you are attempting to build. This happens most often when
using unsupported functionality, as specified in the Limitations above. Double check that you are
not using any calculated columns or custom visuals for that query.

 ErrorType 5 - Execution Timeout: The query has reached the maximum possible runtime before
timing out. Try adding more filters to the query in order to limit its scope. Narrowing the data
range is often the most effective way to achieve this.
 ErrorType 7 - No Measurements Error: CQD queries require a measure in order to function.
Double check that your query includes measure. Measures in the CQD Connector are denoted
by the aggregation (sum) symbol before their name.

If you encounter any additional errors outside of this scope, please notify the CQD team so that we can
help troubleshoot the issue and update the documentation as appropriate.

Frequently Asked Questions


“Why does the connector seem so slow compared to Advanced CQD in browser? What can I do to
improve performance?”

Query performance for the various templates is actually the same in both the browser and in the
connector, the difference comes in the number of concurrent queries being run. Because the in-browser
version of CQD had less well-developed and information-dense visualization options, most of our reports
were limited to loading 2-3 queries at a time. On the other hand, the connector templates display often
display 20+ concurrent queries. If you wish to build reports that are just as responsive as the older ones
you were used to, try creating reports with no more than 2-3 queries per tab.

“I find that I routinely run into the ten-thousand row limit when running queries. How can I get the
connector to return more than ten-thousand rows?”

The ten-thousand row limit is actually specified on the API end, and it is designed to help significantly
improve performance and reduce the risk of query execution errors resulting from low memory
conditions.

Instead of attempting to increase the result row count, it is best to attempt to restructure your reports
according to connector best practices. The templates we have included are designed to demonstrate
these best practices. Where possible, start by looking at your KPIs using broader, lower-cardinality
dimensions, such as Month Year, Date, Region, Country, etc. From there, you can drill down into
increasingly higher-cardinality dimensions. The Helpdesk and Location-Enhanced Reports both provide
good examples of this drill down workflow.

“When will the connector be updated from ‘Beta’ status? Is this status a reflection of its capabilities?”

Despite the Beta tag, the Call Quality Connector for Power BI is the release version of the connector and
has been officially security signed by the Power BI team to reflect this. The certification process to
remove that Beta tag is an extensive one and requires a commitment from the Power BI team to provide
direct support to the connector as well. Due to time constraints, the Power BI team is currently unable
to provide that support and broader certification, but is still prepared to attest to the security,
authenticity, and general functionality of the Call Quality connector.

Footnotes
1
Certain processes and apps (e.g. OneDrive) may cause your Documents root folder to change; make
sure that the Power BI Desktop\Custom Connectors directory is placed inside of the current root folder
Documents folder.
2
The login credentials you use for CQD do not need to be the same credentials you use for logging into
the Power BI Desktop app itself.

Copyright 2020 Microsoft Corporation


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.

You might also like