This guide provides step-by-step instructions for configuring x-hoppers integration with Power BI and importing call records and performance metrics.
Created: October 2024
Permalink:
Introduction
x-hoppers integration with Power BI (PBI) enables you to download x-hoppers analytical data and import it to Power BI for advanced reporting and visualization. The following data types are available for import:
Calls: information about who joined a broadcast, when and for how long (import via a script)
Performance metrics: Agents and Stores stats, including wait and talk time, headsets battery status and more; Help points stats, such as QR code scans and tablet help points usage (import via CSV/ XLSX)
Requirements
x-hoppers system on WMS 6
Power BI
Node.js (required for specific scenarios)
Note: Steps describe in this Guide are also applicable to other platform for data analysis, such as Looker, Tableau, Excel and Google Sheets.
Setup
Calls data
You can import calls data into Power BI using one the following method.
Method 1. Dedicated PBI script
This method involves uploading a DAX (Microsoft’s formula expression language) script to Power BI:
Open Power Query Editor in Power BI, select New Source and choose Blank Query
Open Advanced Editor for the blank query and paste the following script:
Replace the fields pbxURI, pass, dateFrom, dateTo with your own data, then click Done
Click Edit Credentials in the top ribbon, select Anonymous in the new window and click Connect to apply the setting to
In the next message, tick off Ignore Privacy levels checks…, then click Save
Your data should now appear in Power Query. Click Close & Apply to import it into the Power BI data model
Method 2. JS script
This method uses API calls to fetch data from CDS and integrate it with Power BI or any other platform for data analysis. For detailed API instructions, refer to this guide: https://docs.wildix.com/guides/2024/08/24/cds-ca/.
Performance metrics
CSV/XLSX import
To import the performance metrics into Power BI, follow these steps:
Navigate to x-hoppers Analytics and select the desired dataset, Agent Stats or HelpPoints
Hover over the report and click More -> Download
Choose the file format: XLSX or CSV
Click Download to save the file
Once you have the file, you can import it into Power BI:
In Power BI, click Home -> Get Data -> Text/CSV (or Excel, depending on the format)
Select the CSV or XLSX file that you downloaded
Click Load to import the data into Power BI.
You can also automate the process by scheduling x-hoppers reports to be sent via email and setting up an automatic import of the data into Power BI.