• 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

count distinct

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?

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