• 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
Home » Blog » Dynamic value format – Better labels in Tableau

Dynamic value format – Better labels in Tableau

2023-11-19 by Johan de Groot

Labels are often an after-thought for many users – we don’t like them, but are necessary. Using some simple steps we can create better labels which are easier to interpret for the users of the dashboard.


[This blogpost is part of a series tips tricks, as being presented at VizIt Berlin 2023]

I have to the well-known Superstore dataset, and created an overview of the sub-categories and its respective sales.

A basic setup which is very often used, but let’s improve this with some easy tricks – in this case the labeling.

Format as Currency

First: if you are talking about money, show it is money.
Changing the default format of the field to ‘currency’ in the right locale is easy. I live in Europe, so I choose the Euro:s:

But in this view you have got a big difference between the sub-categories: some are over 2 million euro, other less than a thousand euros. Tableau unfortunately doesn’t offer a way to dynamically change between display units: it’s either thousands or millions, but neither work well.

Stumbling by a solution in a WhatsApp group…

Some time ago I followed a discussion in a Whatsapp group on Tableau. This group is a lot of gossip, but often really interesting questions – and answers – show up related to Tableau.

A wonderful calculation was shared which dynamically shows the right display units, based on the value.

It returns a text-value – but that is no problem because I only want to use it on the label, and not on the axis.

Changing the calculation to my needs, and putting it into the vizualisation

I made some small changes to make it better suitable to my own locale, like formatting the negative values and millions/billions.

The result

When I drag this new field to the label, the bar-chart labels show more human readable values! An easy solution, which can be used in many dashboards.

Featured, Formatting Presentation, VizIt Berlin 2023

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