Toggling to Present mode for Atoti dashboard

Introductory guide to Atoti BI web application

How often were you tasked to turn over a functional, self-service dashboard to the business management team?…

Hui Fang Yeo
August 17, 2021
Scroll to read the aricle

Introductory guide to Atoti BI web application

How often were you tasked to turn over a functional, self-service dashboard to the business management team? What tools would you use to do so? The next time you’re in such a situation, try Atoti—a free Python BI analytics platform.

In case you’re wondering if it suits your needs, below are the features of Atoti

Atoti feature map

In this article, we will focus on how we can work with the Atoti web application to create beautiful dashboards with storytelling capability. Before that, take a look at the complementary article on The How-tos of Atoti Dashboards

Let’s use the instance from the wine analytics notebook from the Atoti notebook gallery.

Accessing the BI web application

Upon creating an Atoti session, an instance of the BI web application is created on a random port. However, it makes sense to access the web application only after the cube is created since we will need to access data from it.

💡Tip: It’s a good idea to fix the port for your session if you will be sharing dashboards with others. You can do so by setting the configuration during the instantiation of the Session as follows:

session = tt.Session(port=9090)

The web application will be available via the port on the host where the script or Jupyter notebook is running Atoti on, e.g. https://<jupyter server hostname>:9090 as per the configured port above.

Alternatively, just run the command session.link() to access the URL to the web application:

Using session.link to access the Atoti web application URL
Jupyter proxy server could be used for Docker Image or VM on the cloud.

Click on the URL to open the web application on a browser tab.

Accessing dashboards

The below screen shows the default landing page for the web application. Most of the components are intuitive, hence we will not go into details of it. If you need more information, you can access the UI documentation.

Layout of the landing page for Atoti web application

There are many ways we can quickly navigate to the dashboard that we want:

1. Recently opened

By default, the homepage displays the recently opened dashboards in the workspace area. This makes it easy to access the dashboard that we last worked on. 

To launch the dashboard, simply click on the dashboard tile:

Launching Atoti dashboard by clicking on dashboard tile

💡 Tip: To return to the landing page, simply click on the Atoti icon:

Returning to the landing page of the Atoti web application

2. Dashboards and folder search

We can enter keywords from the dashboard’s title to perform a search and quickly launch the dashboard.

Accessing dashboard by search bar in Atoti web application

3. Workspace tree

We can create folders in the workspace to classify our dashboards.

Classifying dashboards with folders

By navigating the Workspace tree, we can access the dashboards under the respective folders.

Accessing dashboards from Workspace tree

4. Direct URL access

Each dashboard is identified the last 3 characters of its URL:

Dashboard URL for sharing

We can simply send the URL of the dashboard to people we want to share it with.

Creating a dashboard

We need to create a dashboard before we can access it. So how do we start creating one? Drop a note on Gitter if it’s not obvious from the screen below.

How to create dashboard

A blank dashboard will be launched in the workspace in edit mode. The key components are labelled in red below:

New dashboard layout in Edit mode

The dashboard starts with one page with a default pivot table that is empty. We can add pages to the dashboard via the page bar, and more widgets to each page via the Widget ribbon as we shall see later on.

Let’s start exploring the different components by populating the pivot table.

Working with a pivot table

To populate data into the pivot table, be sure that we are on the edit mode (i.e. the top right corner shows Present and we are able to see the left bar menu and the widget ribbon).

Content editor 

Expand the Content editor drawer from the left bar to access the data model. The data model is split into 2 sections:

  • Measures
  • Hierarchies

We can adjust the size of the Content editor to access various sections while accommodating the screen space.

Adjusting width of content editor

We can either click on a measure or hierarchy to add it to the pivot table. By default, a measure will be added to the Measure sections that fall under Columns while hierarchies will be added to Rows

Building an Atoti pivot table

We can also drag them into Rows or Columns. Likewise, we can drag the tiles between the Rows and Columns.

We will come back to the Widget filters section again later on.

Working with widget ribbon

There are two ways we can work with the widget ribbon:

  • Changing the visualization of an existing widget on the page
  • Add widget tiles into the page

Changing visualization of an existing widget

In the previous section, we built a pivot table. We can easily switch it into different visualization by first selecting the Pivot table widget, then clicking on the target visualization type in the Widget ribbon:

Changing visualization of an existing widget

Adding widgets tiles to page

Drag and drop the widget from the widget ribbon into the page when we want to place it. Alternatively, we can also drop it in place of an existing widget to replace it.

Adding new widget tile to a page in the Atoti dashboard

We can always resize the widgets by dragging their border or rearrange the widget tiles by dragging the title area around.

Zooming in on the widgets

Below are the types of widgets we have natively in Atoti. 

Type of visualizations available in Atoti widget ribbon

Note that some widgets such as Quick filter and Drillthrough are only available in the web application and not available from Jupyter notebook.

It is possible to extend the UI application via Atoti+ to add custom widgets.

Working with saved widgets

Visualizations published from the Jupyter notebook can be accessed from the Widget drawer and added to the dashboards.

Adding published widget to dashboard from Widget drawer

💡Tip: We can save commonly used widgets in dashboards via the ellipsis on the widget itself:

Saved widget can be accessible from the Widget drawer for use in dashboard creation.
The saved widget will be accessible via the same Widget drawer in the left bar.

Storytelling with Atoti filtering functions

Quick filter

We saw the Quick filter widget earlier on. It is definitely an interesting widget that adds the storytelling element to our dashboard.

Each Quick filter widget allows us to select one hierarchy/level to filter the page by. It provides a user-friendly interface for users to interact with the dashboard, without having to access the content editor.

Storytelling with quick filter in Atoti dashboard

Filter on others

Other than the Quick filter, we can right-click on a value in the widget and select Filter on in order to zoom in on the analytics for that specific member. There are few options to filter on:

  • Other widgets
  • This widget
  • All widgets

My personal preference is to filter on other widgets:

Filter on other widgets for Atoti dashboard storytelling

Understanding the filters

We saw from earlier examples that Quick filters add filters at the page level and Filter on add filters at the widget level. Let’s navigate to the Filters drawer on the left bar to understand the different types of filters we have in Atoti.

Default filters are applied on the cube level, normally created when we set slicing to True for a hierarchy. This means that the filter is applicable across all queries. We are unable to add filters on this level via the GUI.

Understanding filters for Atoti web application

While filters at the dashboard level apply across all widgets on all pages within the dashboard, filters at page level apply only for the selected page. Each page can have different filters. Similarly, each widget has its own set of filters.

To apply filters, simply drag the hierarchy into the specific level filter.

Drag hierarchy into page filter

Another way to apply filters on a selected widget is via the content editor:

Add filter to widget via content editor

Refer to the UI documentation on how we can add advanced filters.

Deferring updates

A widget rerenders whenever a level, hierarchy, measure or filter is added to it. We can pause the rendering by selecting the Defer updates checkbox at the bottom right corner of the dashboard.

Defer updates for dashboard during design phase

After we are done adding the necessaries to our widget, we can simply deselect the checkbox to trigger the rendering of the visualizations.

Showing real-time updates

Atoti supports incremental data loading and this means that there’s no need to restart the cube for subsequent data loads. 

Sometimes, it is necessary for data to be reflected in our dashboard as they are loaded. To do this, simply click on the icon highlighted below to turn on real-time for the selected widget.

Turn on real-time mode for widget

Saving dashboard

The final step to designing the dashboard is saving our hard work! Any one of the following will trigger a save:

1. Using shortcut key Ctrl+S / ⌘-S 

2. Entering a name for the dashboard

Updating name of dashboard

3. Doing Save or Save As from the File menu.

Save dashboard from File menu

💡Tip: Configured user_content_storage for persistence, otherwise the dashboard will only be available in the lifetime of the current session.

Presenting the dashboard

Voila! We have designed and saved our dashboard. For the big moment of presenting our work to those who matter, we don’t want to show the widget ribbon nor the left bar, do we?

Toggle to Present mode as shown below:

Toggling to Present mode for dashboard

This guide is not exhaustive but these features should be intuitive enough for anyone who’s curious. Check out Atoti documentation on how to get started!

Join our Community

Join our thriving article community and start sharing your insights today!

Like this post? Please share

Latest Articles

View all

Retail Banking Analytics with Atoti

Make smarter decisions by analyzing consumer credit cards and risk profiles. Retail banking, otherwise known as consumer...

Putting Python Code in Production

Python is great for research, but can you really use it for production quality projects? Python, once...

Changes ahead: Atoti Server 6.0-springboot3

ActiveViam is upgrading version 6.0 of Atoti Server from Spring Boot 2 to Spring Boot 3 to...
Documentation
Information
Follow Us

Atoti Free Community Edition is developed and brought to you by ActiveViam. Learn more about ActiveViam at activeviam.com

Follow Us