Articles in this section

Setup Guide: ActivTrak's BI Reporting for Tableau

Unlock the power of ActivConnect and access your ActivTrak data without the need for advanced SQL or BI knowledge. ActivConnect (Powered by BigQuery) leverages the native integration between Google BigQuery and Tableau to simplify data access. 

You’ll be able to access, analyze and visualize millions of rows of data, leveraging the tools and techniques you are already familiar with, such as formulas, charts and pivot tables. The data will be maintained current through scheduled refreshes. 

Note: ActivConnect is available as an add-on to customers on a paid subscription plan. You can learn more about ActivConnect here.

Contents

Setup Requirements

Before you begin, ensure you have:

  • ActivTrak paid subscription plan and the ActivTrak ActivConnect Add-on. Learn more here.
  • ActivConnect user name (in the format of [account_number]@activtrak.us]) and password. Your account number is in the Account Information menu in ActivTrak; access it via the circle icon in the top right corner.
  • An active Tableau license

Note: While this template is designed to work with all ActivTrak subscription plans, the data available for each report will vary based on your specific subscription plan type. Reports containing the Premium or Professional label on the report title indicate that the data required for those reports is only available to those license tiers. 

Validate ActivConnect Credentials

Note: This step is required for new customers to validate access to ActivConnect.

  1. Navigate to Google Cloud Console
  2. Log in with your ActivConnect username ([accountnumber]@activtrak.us) and password

Import your data into the Tableau desktop application

  1. Within the ActivTrak app, navigate to API & Integrations > ActivConnect API.
  2. Find the Customizable ActivTrak Reports card and click the Get it from Microsoft AppSource icon.

Screenshot 2025-05-28 at 5.27.58 PM.png

  1. From the zipfile, open the “ActivTrak for Tableau v3.1.twbx” file.
  2. You will be prompted to authenticate using a Google Cloud account. Use the same credentials from Step 1. Click 'Allow to Grant Access to the ActivConnect data from Tableau'.
  3. Close the browser window when done and switch back to Tableau Desktop.

unnamed.png

  1. A "Dashboard Unavailable" message will appear stating there was a problem connecting to the data source. This occurs because Tableau does not allow you to change the pre-built Data Source Connection before attempting to log in. Click Edit Connection inside the error message.

unnamed__1_.png

  1. Select the parameters relevant to your account. 

2021-04-16_06-01-38.png

  1. See the image below for examples of where to find this information.

TABGUIDE1.png

  1. Select the following tables within your dataset in the order mentioned below and drag and drop them in the right-hand side area: Drag Tables Here, as shown below.

unnamed__3_.png

  daily_user_summary---------------premium_user_groups

  1. Select user name from daily_user_summary and user name from premium_user_groups when prompted to edit the daily_user_summary -premium_user_groups relationship. Close the window when done.

TABGUIDE3.png

premium_user_groups---------------daily_application_summary

  1. Select user_id from premium_user_groups and user_id from daily_application_summary when prompted to edit the premium_user_groups-daily_application_summary relationship. Close the window when done.

TABGUIDE4.png

premium_user_groups---------------group_goals

  1. Select group_id from premium_user_groups and group_id from group_goals when prompted to edit the premium_user_groups-group_goals relationship. Close the window when done.

TABGROUP6.png

premium_user_groups---------------Health Dashboard

  1. Health Dashboard is a custom view that is required to be built in Tableau.

TABGUIDE7.png

  1. Click “New Custom SQL” in the bottom left and paste the query below into the edit box.

Reminder: Replace <@accountID> with your 6-digit account number and rename the custom SQL view with the name “Health Dashboard”.

 

SELECT

  app.user_name,

  comp.computer_name,

  MIN(DATE_DIFF(CURRENT_DATE(), app.local_date, day)) AS days_since_last_activity,

  MAX(app.local_date) AS last_active_date,

  CASE

WHEN MIN(DATE_DIFF(CURRENT_DATE(), app.local_date, day))
<= <Parameters.Healthy Device Threshold> THEN 'Healthy'

else 'Unhealthy'

END

  AS health_status,

  app.accountid

FROM

  `us-activtrak-ac-prod.<@accountID>.daily_application_summary` AS app

JOIN

  `us-activtrak-ac-prod. <@accountID>.premium_computer_groups` AS comp

ON

  app.computer_id = comp.computer_id

WHERE

  app.local_date >= DATE_SUB(DATE(CURRENT_DATE()), INTERVAL 90 day)

GROUP BY

  app.user_name,

  app.computer_id,

  comp.computer_name,

  app.accountid

 

  1. Next, select user name from premium_user_groups and user_name from Health Dashboard when prompted to edit the premium_user_groups-Health Dashboard relationship. Close the window when done.
  2. Select the Connection on the top right as either “live” or “extract”. We suggest you use “extract” to save the data locally for faster performance.
  3. Sorting on a few visuals might have been lost. You can revisit those visuals and set the sort type accordingly.

Learn more

 

Was this article helpful?
2 out of 3 found this helpful