---
title: Accumulating values in Qlik Sense across a filtered date range
description: How to accumulate values across a full date range in Qlik Sense while only displaying part of that range on the chart.
image: https://ometis.co.uk/hubfs/Screenshot%202026-07-15%20153718.png
---

[![ometis white transparent](https://ometis.co.uk/hs-fs/hubfs/ometis%20white%20transparent.png?width=147&height=65&name=ometis%20white%20transparent.png "ometis white transparent")](https://ometis.co.uk)

- Services 
    - [View all services](https://ometis.co.uk/services-overview)
    - [Data analytics](https://ometis.co.uk/services/data-analytics)
    - [Data engineering](https://ometis.co.uk/services/data-engineering)
    - [Analytics audit](https://ometis.co.uk/services/data-analytics-audit)
    - [Data platform audit](https://ometis.co.uk/services/data-platform-audit)
    - [Qlik training](https://ometis.co.uk/services/training)
    - [Support](https://ometis.co.uk/services/data-support)
- Industries 
    - [Hospitality](https://ometis.co.uk/solutions/hospitality)
    - [Higher Education](https://ometis.co.uk/solutions/higher-education)
    - [Manufacturing](https://ometis.co.uk/solutions/manufacturing)
    - [Financial Services](https://ometis.co.uk/solutions/financial-services)
    - [Other sectors](https://ometis.co.uk/solutions-other-sectors)
- Products 
    - [Tahola-AI](https://ometis.co.uk/product/tahola-ai)
    - [Qlik](https://ometis.co.uk/product/qlik)
    - [Power BI](https://ometis.co.uk/product/power-bi)
    - [Sigma](https://ometis.co.uk/product/sigma)
    - [Inphinity](https://ometis.co.uk/product/inphinity)
    - [Snowflake](https://ometis.co.uk/products/snowflake)
    - [Microsoft Fabric](https://ometis.co.uk/product/microsoft-fabric)
    - [OBackup](https://ometis.co.uk/product/obackup)
    - [Jedox](https://ometis.co.uk/product/jedox)
- About 
    - [About us](https://ometis.co.uk/about-ometis-uk-data-consultancy)
    - [Case studies](https://ometis.co.uk/case-studies)
    - [Partners](https://ometis.co.uk/data-technology-partners)
- Resources 
    - [Events](https://ometis.co.uk/events)
    - [Blog](https://ometis.co.uk/blog-news)

 Contact

![](https://secure.leadforensics.com/80580.png)

 July 15, 2026 By Tom Mitchell

# Accumulating values in Qlik Sense across a filtered date range

Share:

- <https://www.linkedin.com/sharing/share-offsite/?url={url}&title={title}>
- <http://x.com/share?text={title}&url={url}&>
- Accumulating values in Qlik Sense across a filtered date range

  3:35

## The problem

Qlik Sense charts have plenty of ways to accumulate values over time. But there's a common scenario that trips people up: you want the accumulation to run across the full history, but you only want to show part of that history on the chart.

**![image 1](https://ometis.co.uk/hs-fs/hubfs/image%201.png?width=1379&height=447&name=image%201.png)**

*We have data from Jan 2020 to Mar 2024, allowing us to build the accumulation over time.*

If you filter the date range the normal way, the accumulation restarts inside that range. That isn't what you want.

![image 2](https://ometis.co.uk/hs-fs/hubfs/image%202.png?width=1379&height=616&name=image%202.png)

***But, if we want to focus in from Jan 2023, we lose the previous dates from our accumulation.***

Here's the approach we use to keep the maths correct and the view tidy.

 

## Step 1: build the accumulative expression

Start with an expression that accumulates the profit ratios over the period you care about. `RangeSum()` and `Above()` do the work:

```
RangeSum(Above(Sum([Profit Ratio]), 0, 3))
```

This gives you the running total across the full data, regardless of what you later choose to display.

 

## Step 2: add a filter for the visible range

Next, add a filter that changes what's visible on the chart without touching the accumulation itself:

```
AVG({<[Date]={">=01/01/2023"}>}1)
```

This returns 1 for dates inside the visible range and nothing outside it. Think of it as a switch that hides the earlier rows rather than removing them from the calculation.

 

## Step 3: combine the two

Multiply the accumulation by the filter:

```
RangeSum(Above(Sum([Profit Ratio]), 0, 3)) * AVG({<[Date]={">=01/01/2023"}>}1)
```

The result is a chart that shows only the range you want, with cumulative values that reflect the whole history behind them.

![image 3](https://ometis.co.uk/hs-fs/hubfs/image%203.png?width=1379&height=616&name=image%203.png)

***By adding the additional term, we can maintain the previous dates in our accumulation, whilst being focused in on our desired section of the timeline.***

 

## When to use this

Any time the story you're telling depends on what came before the visible window. Cumulative profit, running headcount, year-to-date measures where the year started outside the visible axis.

 

## FAQ

### **Why doesn't a normal set analysis work here?**

Set analysis narrows the data before the accumulation runs, so the running total restarts inside the filtered range. This approach keeps the accumulation on the full dataset and hides rows at the display layer instead.

### **Can I use this pattern with other aggregations?**

Yes. The same idea works with `Sum`, `Count`, or any measure you want to accumulate — swap the inner aggregation and keep the multiplier the same.

### **Where does the filter date come from?**

In the example it's hardcoded. In a real app you'd usually drive it from a variable tied to a date picker or a button, so users can change the visible window without editing the expression.

 

## Need a hand with Qlik?

Expressions like this one come up all the time. If you or your team hit them regularly, there are a few ways we can help.

**[Qlik training](https://ometis.co.uk/services/training).** Our sessions are run by a former Qlik trainer and tailored to your data, your apps, and where your team actually gets stuck. Beginner to advanced, virtual or on-site. 

[Qlik support](https://ometis.co.uk/services/data-support)**.** UK-based certified consultants, one-hour response on urgent issues. Useful when a dashboard breaks the day before a board meeting, or when you've inherited a Qlik environment nobody documented. 

**[Qlik platform audit](https://ometis.co.uk/services/data-analytics-audit).** If your Qlik environment is slow, adoption is patchy, or you're not sure whether it's set up well, we run an independent audit. You get a 20+ page report with a prioritised action plan. 

 

## Comments

#### About Author

[Tom Mitchell](https://ometis.co.uk/blog-news/author/tom-mitchell)

Tom Mitchell is a Qlik Consultant at Ometis with 8+ years of experience working with data, specialising in optimisation and best practices for building robust analytics solutions.

#### Related Posts

[![](https://ometis.co.uk/hubfs/blog%20inphinity%20award.png)](https://ometis.co.uk/blog-news/ometis-named-inphinity-partner-of-the-year-2026)

 November 11, 2026

#### [Ometis named Inphinity Partner of the...](https://ometis.co.uk/blog-news/ometis-named-inphinity-partner-of-the-year-2026)

 Ometis is Inphinity’s Partner of the Year 2026. See how we use Inphinity for planning and write-back in Qlik, across SaaS and on-premises.

[Go to Post](https://ometis.co.uk/blog-news/ometis-named-inphinity-partner-of-the-year-2026)

[![](https://ometis.co.uk/hubfs/Screenshot%202026-07-15%20153718.png)](https://ometis.co.uk/blog-news/accumulating-values-in-qlik-sense-across-a-filtered-date-range)

 July 15, 2026

#### [Accumulating values in Qlik Sense...](https://ometis.co.uk/blog-news/accumulating-values-in-qlik-sense-across-a-filtered-date-range)

 How to accumulate values across a full date range in Qlik Sense while only displaying part of that range on the chart.

[Go to Post](https://ometis.co.uk/blog-news/accumulating-values-in-qlik-sense-across-a-filtered-date-range)

[![](https://ometis.co.uk/hubfs/Screenshot%202026-07-08%20104936.png)](https://ometis.co.uk/blog-news/how-royal-holloway-predicts-first-year-student-progression-using-qlik)

 July 8, 2026

#### [How Royal Holloway predicts first year...](https://ometis.co.uk/blog-news/how-royal-holloway-predicts-first-year-student-progression-using-qlik)

 See how Royal Holloway built a Qlik Predict model to identify first year students at risk of not progressing, with 86% accuracy against real 2024/25 data.

[Go to Post](https://ometis.co.uk/blog-news/how-royal-holloway-predicts-first-year-student-progression-using-qlik)

### Be the first to hear about new events and updates

###### Technical Support

There are three ways to log support tickets:

![Canva Design DAFuEILuqpo](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEILuqpo.png?width=30&height=30&name=Canva%20Design%20DAFuEILuqpo.png)   **Email:**  [help@ometis.co.uk](mailto:help@ometis.co.uk)

![Canva Design DAFuEAregRg](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEAregRg.png?width=30&height=30&name=Canva%20Design%20DAFuEAregRg.png)   **Portal:**  [support.ometis.co.uk](mailto:help@ometis.co.uk)

![Canva Design DAFuEBb7e8M](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEBb7e8M.png?width=30&height=30&name=Canva%20Design%20DAFuEBb7e8M.png)   **Phone:** +44 (0) 330 363 9900

Our support team is available to help Monday to Friday 09:00 to 17:30 GMT, excluding UK national holidays.

###### Sitemap

- [Data Integration](https://ometis.co.uk/data-integration)
- [Data Governance](https://ometis.co.uk/data-governance)
- [Data Analytics](https://ometis.co.uk/services/data-analytics)
- [Services](https://ometis.co.uk/services)
- [Blog](https://ometis.co.uk/blog-news)
- [About](https://ometis.co.uk/about)

###### General Enquiries

For all general enquiries:

![Canva Design DAFuEILuqpo](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEILuqpo.png?width=30&height=30&name=Canva%20Design%20DAFuEILuqpo.png)   Email:  [info@ometis.co.uk](mailto:info@ometis.co.uk)

![Canva Design DAFuEBb7e8M](https://ometis.co.uk/hs-fs/hubfs/Canva%20images/Canva%20Design%20DAFuEBb7e8M.png?width=30&height=30&name=Canva%20Design%20DAFuEBb7e8M.png)   Phone:  +44 (0) 330 363 9900

###### Company Information

Ometis Limited,   
42 Lytton Road, Barnet,  
Greater London, EN5 5BY

Company Number: 7095283         VAT: 106236937

 

© 2026. All rights reserved | [Terms of use](https://ometis.co.uk/terms-of-use) | [Privacy](https://ometis.co.uk/privacy) | [Ts & Cs](https://ometis.co.uk/standard-conditions-of-supply)

[Follow us on LinkedIn](https://www.linkedin.com/company/ometis-limited/)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Tom Mitchell",
    "url" : "https://ometis.co.uk/blog-news/author/tom-mitchell"
  },
  "dateModified" : "2026-07-15T14:40:34.790Z",
  "datePublished" : "2026-07-15T14:40:34.000Z",
  "headline" : "Accumulating values in Qlik Sense across a filtered date range",
  "image" : [ "https://ometis.co.uk/hubfs/Screenshot%202026-07-15%20153718.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://ometis.co.uk/blog-news/accumulating-values-in-qlik-sense-across-a-filtered-date-range",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://ometis.co.uk/hubfs/ometis%20orange%20transparent-1.png"
    },
    "name" : "Ometis Limited"
  }
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "Corporation",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "United Kingdom",
    "addressLocality" : "Hertfordshire",
    "addressRegion" : "",
    "postalCode" : "EN5 5BY",
    "streetAddress" : "42 Lytton Road Barnet"
  },
  "alternateName" : "Ometis",
  "description" : "Ometis is a UK data consultancy and the UK's largest dedicated Qlik partner, helping organisations get more value from their data through integration, analytics, dashboards, training and support.",
  "email" : "info@ometis.co.uk",
  "image" : "",
  "logo" : "https://143260848.fs1.hubspotusercontent-eu1.net/hubfs/143260848/ometis%20orange%20transparent-1.png",
  "mainEntityOfPage" : {
    "@id" : "https://ometis.co.uk/blog-news/accumulating-values-in-qlik-sense-across-a-filtered-date-range",
    "@type" : "WebPage",
    "description" : "How to accumulate values across a full date range in Qlik Sense while only displaying part of that range on the chart."
  },
  "name" : "Ometis Limited",
  "sameAs" : [ "https://www.linkedin.com/company/ometis-limited/" ],
  "telephone" : "0330 363 9900",
  "url" : "http://www.ometis.co.uk"
}
```