Creating VARA to Charts Using Dynamic Filters

The VARA to Chart dynamic filter feature lets administrators or designers create charts and dashboards according to user access rights and organizational roles.

What Will You Learn?

How to create a multi-chart dashboard using one VARA object and dynamic filters.

 

Note: If you are using the Automation Engine version 12.3 or below you will be asked to login to view VARA objects, even if you have selected Allow Public Access to this Dashboard.

What does this use case cover?

This use case is based on the use of the chart dynamic filters feature. Charts in this use case are accessible to various users, however each user type has a particular filter and limitation applied to their view.
The use case is based on a international shoe company that sells its shoes globally.

All of the company’s stores shoe sales (number of shoes sold) are collected and consolidated on a nightly basis. Store stocks are replenished each night using an application that is automated by Automic Automation.

The company objective is to ensure that each store has enough stock for the start of business the following morning.

Important! This use case is based on previously created charts. The objective of this use case is to demonstrate how filters can be implement based on user access rights and filters. Therefore this use case does not show you how to create charts. 

This use case is based on three types of user:

  1. Dashboard or Chart Designer
    As a Automic Automation champion she pushes the Automic Automation adoption inside the company, and ensures that Automic Automation is always operational. This user is also responsible for providing dashboards to the Local Store Manager and Regional Manager to ensure that they fulfill their KPIs.

  2. Local Store Manager
    The local store manager ensures that sales results and KPIs (Key Performance Indicators) are aligned at a local level. This user has a limited local store dashboard and chart view.

  3. Regional Manager
    This is a business user with a high-level view of the dashboards. This user has access to shoe sale results in the following regions: EMEA, AMER or APAC. The regional manager ensures that sales results and KPIs (Key Performance Indicators) are aligned across regions.

Why should I use filters?

The following use case is based on a set user types, and there are many scenarios where filters can be useful to your organization:

Overview

The following list provides an overview of the steps you must carry out:

  1. Creating the users in AWI
  2. The Regional Managers View
  3. The Local Managers View

Prerequisites

Creating the users in AWI

As a designer you have been given administrator rights in AWI. The first goal is to create the three users and manage their access rights.

  1. Log into AWI as the designer (administrator). Click Administration button from the on main toolbar.

  2. In the User Management section, add the following users: EMEA_MGR and PARIS_MGR.

  3. Add the access rights for each user.

    In this use case the following rights are assigned:

    • EMEA_MGR user
      Read access to dashboards that only display EMEA sales results.
      Read access to the EMEA VARA results only.
      Read access to a folder called EMEA.

      Note: The company does not want regional managers to have access to other regional sales results.

    • PARIS_MGR user
      Read access to one specific dashboard based on the Paris store and the EMEA VARA results.

      Note: The company does not want local managers to have access to other local sales results.

      More information: Granting Automation Engine Authorizations and Users (USER)

The EMEA Sales Results VARA

In this use case it is essential that the VARA object data content is explained, as the design is relevant to the dynamic chart views. The columns in the EMEA.RESULTS.VARA object displayed below can be described as follows:

Why use the aggregate values in the same VARA object?

Essentially the usage of global (aggregated) values in the one VARA object is a time saving exercise. As a dashboard designer there is no need to create multiple data sources for your dynamic charts.

This use case shows you how to filter and display several data sets using one VARA object. The VARA object is a flat data file, but by creating a Global key you can take advantage of the Allow Dynamic Filter option. It allows you to have a standard view of each countries overall sales, and simulates drill-down into all the stores associated with a country. This concept is explained in the example below.

The Regional Managers View

The EMEA_MGR (regional manager) user has read access to all the data in EMEA.RESULTS.VARA object. A regional manager can view all data based on their sales region, this is useful to view healthy and poor performing sales countries.

An automated job collects data from each store, and consolidates data per country. The EMEA manager can view their dashboard each day:

Example:

The regional manager has asked the chart designer to create a default chart view each time an AWI login is made.

Based on the regional manager's request:

All values using the Global key are filtered and are displayed in VARA preview. The Global Key contains aggregated data for all countries in the EMEA sales region. See above for the VARA column descriptions.

As a result of the designers configuration, the chart below shows each EMEA country's aggregated (across all the country stores) current month shoes sales, and yearly sales objective.

Default display for EMEA manager

More information: VARA to Chart Widget

The regional manager now requires more details about the individual store sales in each country.

Note: The Filter Key option is still set to filter everything that starts with Global in the VARA object.

Important! It looks counter-intuitive that designer has selected the Value 4 and not the Value 3 column. This is because the Value 3 column is reserved for chart labels. When the designer sets the filter for Column 4, the dynamic filter will list the labels, Austria, Denmark, France and so on.

Dynamic filter applied to allow the user to filter by country

When the EMEA_MGR user is in the chart view, the user is able to filter data by country and stores because the Dynamic Filter is applied on Filter Key Global.

The Local Managers View

A local manager can only view data based on their local store sales. They do not have access to the Dynamic Filter feature as it has not been activated.

Example 1:

The dashboard designer has specifically filtered the Paris store (EU_FR_Store1) in the VARA object. The Allow Dynamic Filter checkbox is not checked (deactivated).
Paris store chart configuration

Although all EMEA store managers use the same VARA object to view their charts, the dashboard designer has limited each chart view. 

The Paris store manager data access is limited to one row of data in the VARA object:

EMEA VARA for Stores

The Paris manager can only view the current months sales and the yearly sales objective for the Paris store.

Paris store manager chart view

Note: If the user clicks on the chart, the notice Dynamic Filtering is not allowed on this VARA is displayed.

Example 2:

The EMEA manager decides to encourage competition between city stores, and asks the designer to setup a dynamic filter. The dynamic filter allows all local managers to view other city store sales.

In this example below the Paris store manager has access to the dynamic filter. The Column Name Value 3 is named EMEA cities, and added as a filter. All city stores in the Value 3 column are now accessible to local city managers.

Dynamic filter configuration for all city stores

The Paris manager has access to the data in columns Value 1, 2 and 3 in the VARA object.

The local manager has access to all the data in value 1 to 3 in the VARA object.

The Allow Dynamic Filter is activated in the chart view, and any city store can be selected from the list.

Useful Links