• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Antichaos

Antichaos

Data Visualisation, Tableau & Data Services

  • Home
  • Blog
  • Services
  • Training
  • Portfolio
  • Contact
  • Nederlands
  • Show Search
Hide Search

Level of Detail

Why is COUNTD so slow – and how can I fix this?

2025-11-16 by Johan de Groot

When you start tuning a Tableau dashboard or SQL query for performance, one thing jumps out quickly: COUNTD can slow things down.

The count-distinct is an extremely useful function which looks simple on the surface, but under the hood it forces the engine to do extra work that adds up fast. Understanding why this happens – and what alternatives you can use – makes a big difference in keeping your dashboards responsive.

[Read more…] about Why is COUNTD so slow – and how can I fix this?

Tableau’s Order of Operations

2022-10-18 by Johan de Groot

The order of operations in Tableau refers to the sequence in which the software processes the data and calculations in a given worksheet or visualization.

The order of operations in Tableau is the order in which Tableau performs its various actions. An action is mostly identified as a filter, but can also be a calculation or another Tableau feature which is computed.

This is Tableau’s Order of Operations:

Tableau's Order of Operations
Tableau’s Order of Operations

It shows in which sequence filters are handled with by Tableau: first extract filters, than datasource, context, dimension, measure and table calculation filters.

The ‘inserts’ on the right are calculations themselves.

Primary Sidebar

Antichaos Services

  • Need Tableau Help ?
  • Basic, Advanced and Custom Training

Recent Blogposts

  • Smarter dashboard design – with fewer tooltips
  • Top 2000 in Perspective – Behind the Scenes
  • How to Visualize High-Value Metrics in Tableau Without Starting at Zero
  • Why is COUNTD so slow – and how can I fix this?
  • Visualizing ‘Dynamic’ Data using a Sine Wave
  • Add ‘All’ and more options to a Dynamic Parameter
  • Tableau Container Art – 4 examples of formatting dashboards without images
  • Letting Users Choose Their Visual
  • The Tableau VizQL Data Service: What It Is, What It Can Do, and When to Use It
  • Abbreviate long text in Tableau

Antichaos

Copyright © 2026 Antichaos

  • Antichaos
  • Privacy
  • Contact