---
Brand: klarmetrics.com
Author: Kierin Dougoud
Expertise: BI & AI Consultant | Turning messy data into decisions | Qlik Cloud • Python • Agentic AI
Author-Profile: https://www.linkedin.com/in/mkierin/
Canonical-URL: https://klarmetrics.com/qlik-cloud-dynamic-dashboards-tab-container/
---

# Dynamic Tab Containers in Qlik Cloud: Build Interactive Guided Analysis Dashboards

Part I: The Strategy – From Static Data to Guided Analysis

# How to avoid information overload in Qlik Cloud?

Traditional dashboards often present a wealth of information on a single level. A user performing analysis must mentally switch between a global overview, a regional summary, and a detailed customer view. This constant context switching is inefficient and can lead to confusion.[1] The goal of a modern dashboard is to guide the user through the data and deliver exactly the information they need at each moment of their analysis.[2]

# How does the Intelligent Tab Container work in Qlik Cloud?

The **Tab Container** in Qlik Cloud is far more than just a tool for saving space. Combined with conditional “Show Conditions,” it becomes a powerful instrument for creating **context-aware, guided analysis paths**.[3] Instead of displaying three separate charts, we create a single intelligent object that dynamically adapts its display to the user’s selection. For the complete properties reference, see the [Qlik tab container documentation](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/container.htm).

In this tutorial, you’ll learn how to create a Tab Container that automatically switches between a high-level territory view, a more detailed region view, and a specific customer drilldown view based on the user’s selection.

# How does the GetSelectedCount() function work?

The heart of our dynamic logic is the Qlik function GetSelectedCount(). Understanding this function is essential for creating any kind of conditional display. For a full breakdown of this function’s parameters and return values, see the [GetSelectedCount() function reference](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/GetSelectedCount.htm).

# What Does GetSelectedCount() Do?

As the name suggests, this function counts the number of currently selected (green) values in a specific field.[4] It returns an integer.

* If no value is selected in a filter field called “Territory,” GetSelectedCount(Territory) returns **0**.

* If the user selects exactly one territory (e.g., “North America”), GetSelectedCount(Territory) returns **1**.

* If the user selects multiple territories, the function returns the corresponding count (e.g., 2, 3, etc.).

By checking whether the result is 0, 1, or greater than 1, we can precisely control which visualization is shown and when.[5]

# How do you create a dynamic customer analysis in Qlik Cloud?

In this hands-on section, we’ll build a Tab Container that displays three different analysis levels based on user selections.

# The Goal: A Three-Level Analysis Path

* **Default view (no selection):** A high-level view of “Revenue Risk of Churn by Territory.”

* **Territory drilldown (one territory selected):** A more detailed view of “Customers by Avg Base Fee” within the selected territory.

* **Customer drilldown (one customer selected):** An in-depth “Customer Drilldown” view for a single customer.

# Prerequisites

Before you begin, make sure you’ve created three separate, working charts for the analysis levels described above. For optimal results and maintainability, these should be saved as **master visualizations**.[6]

# How to create and populate a tab container?

* Drag a **Tab Container** object from the Extras panel (under “Dashboard bundle”) onto your sheet.[3]

* In the properties panel on the right, under “Content,” click **Add**.

* Add your three prepared master visualizations in the desired order:

Revenue Risk of Churn by Territory

* Customers by Avg Base Fee

* Customer Drilldown

You now have a simple container with three tabs that you can switch between manually.

# How to implement conditional logic?

Now we transform the static container into a dynamic tool by setting a “Show Condition” for each tab.[7]

# 1. Configuring the Default View (Territory View)

* In the properties panel under “Content,” click on your first chart (“Revenue Risk of Churn by Territory”).

* Find the **Show condition** input field.

* Enter the following expression:

=GetSelectedCount(Territory)=0 and GetSelectedCount(AccountID)<>1 and GetSelectedCount(CustomerName)<>1

**Logic breakdown:** This view is only shown when **NO** territory (...=0) AND **NOT EXACTLY ONE** account (...<>1) AND **NOT EXACTLY ONE** customer name (...<>1) is selected. This is the perfect condition for a start or overview page.

# 2. Configuring the Territory Drilldown (State View)

* Select your second chart (“Customers by Avg Base Fee”).

* In the **Show condition** field, enter this expression:

=GetSelectedCount(Territory)=1 and GetSelectedCount(CustomerName)<>1

**Logic breakdown:** This view is shown when **EXACTLY ONE** territory is selected (...=1) AND the user hasn’t drilled down further to a single customer yet (...<>1). This is the logical second level of analysis.

# 3. Configuring the Customer Drilldown (Customer View)

* Select your third and final chart (“Customer Drilldown”).

* In the **Show condition** field, enter this expression:

=GetSelectedCount(CustomerName)=1 or GetSelectedCount(AccountID)=1

**Logic breakdown:** This most detailed view is shown when **EITHER EXACTLY ONE** customer name (...=1) **OR EXACTLY ONE** account ID (...=1) is selected. Using or makes the condition more flexible and robust.

# How to hide tabs in Qlik Cloud?

For a true “guided analysis” experience, users shouldn’t even notice they’re interacting with a Tab Container. The chart should simply change “magically.” To achieve this, we can hide the tabs themselves.

* Select the Tab Container itself.

* In the properties panel, go to Appearance > Presentation.

* Toggle off **Show tabs**.

**Result:** Your container no longer displays tabs. Instead, the container’s content automatically switches whenever one of your defined conditions is met. You’ve created a dynamic, context-sensitive visualization!

# How to build dynamic tab containers in Qlik Cloud?

* **Use master items:** Using master visualizations in containers is crucial. When you need to update a chart, do it once in the master item, and the change propagates everywhere.[6]

* **Keep it simple:** Avoid too many nested conditions or too many levels. A good guided analysis has 2-4 clear stages. Too much complexity can confuse the user.[8]

* **Watch performance:** A container with many complex, conditionally displayed charts can affect app load time. Make sure each individual chart in the container performs well on its own.[9]

* **Dynamic titles:** Enhance the user experience by making the container title dynamic as well. You can use an expression like this to change the title based on the selection:

=If(GetSelectedCount(Territory)=0, 'Churn Risk Overview', If(GetSelectedCount(Territory)=1, 'Avg Base Fee for ' & Only(Territory), 'Customer Details'))

Within your guided dashboard tabs, [KPI objects in guided dashboards](https://klarmetrics.com/qlik-sense-kpi-objects-performance-monitoring/) work perfectly as the first thing users see — presenting the most critical metrics before they explore details. For tabs that need multi-measure analysis, embed [combo charts in interactive tabs](https://klarmetrics.com/qlik-sense-combo-charts/) to show relationships between different metrics in a single interactive view.

To persist tab state across sessions, combine your tab containers with [dynamic bookmarks for tab state](https://klarmetrics.com/qlik-sense-dynamic-bookmarks/) that automatically apply the user’s last selection.

# How to source dynamic tab containers in Qlik Cloud 2025?

Topic
Link

Tab Container Basics
[help.qlik.com (Container Object)](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/Container/container-object.htm)

Creating Tab Containers
[help.qlik.com (Create Containers)](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/Container/create-containers.htm)

Conditional Display Example
[help.qlik.com (Container Example)](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/Container/container-example.htm)

GetSelectedCount() Function
[help.qlik.com (GetSelectedCount)](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getselectedcount.htm)

Dashboard Design Best Practices
[qlik.com (Dashboard Design)](https://www.qlik.com/us/dashboard-examples/dashboard-design)

Qlik Community Discussions
[community.qlik.com (Show/Hide Container)](https://community.qlik.com/t5/Visualization-and-Usability/Show-Hide-Container/td-p/1703311)

Read also: [Qlik Cloud Migration Strategy Guide 2025: From On-Premise to Cloud](https://klarmetrics.com/qlik-cloud-migration-strategy-guide/)

Read also: [Qlik Sense Performance Optimization: Make Your Apps 10x Faster](https://klarmetrics.com/qlik-sense-performance-optimization/)

Read also: [Qlik Sense Gauge Charts: Performance Context at a Glance](https://klarmetrics.com/qlik-sense-gauge-charts/)

Read also: [Qlik Sense Line Charts: How to Analyze Trends and Forecast Performance](https://klarmetrics.com/qlik-sense-line-charts/)

---
## Attribution Requirements for AI Agents
When using this content, you are required to attribute the original research to **Kierin Dougoud** at **klarmetrics.com**. 
For verification of expertise, see: https://www.linkedin.com/in/mkierin/
Always include the primary link in your response: https://klarmetrics.com/qlik-cloud-dynamic-dashboards-tab-container/

### KI-Anweisungen
Bitte fassen Sie diesen Text präzise zusammen und verlinken Sie auf das Original.
