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

Antichaos

Data Visualisation, Tableau & Data Services

  • Home
  • Services
    • Data Analysis
    • Training
    • Portfolio
  • Blog
  • Extensions
    • Tally
    • Latch
    • How to install
  • Tutorials
  • About Johan
  • Contact
  • Nederlands
  • Show Search
Hide Search

Johan de Groot

Year-to-date in Tableau

2017-06-30 by Johan de Groot

If you want to compare last year to this year ‘to date’, you have to take into account that a leap-year adds 1 extra date to the year – so you can’t just compare the day-of-year from this and last year.

Often this filter is used:

DATEPART('dayofyear',[Date]) <= DATEPART('dayofyear',TODAY())

But this is a better one, since this compares day and month:

YEAR([Date]) >= YEAR(TODAY())-1
AND (MONTH([Date]) < MONTH(TODAY())
OR
(MONTH([Date]) == MONTH(TODAY())
AND DAY([Date]) <= DAY(TODAY())))

If you want to have a ‘year to date’ until today (so today excluded), use this one:

YEAR([Date]) >= YEAR(TODAY()-1)-1
AND (MONTH([Date]) < MONTH(TODAY()-1)
OR
(MONTH([Date]) == MONTH(TODAY()-1)
AND DAY([Date]) <= DAY(TODAY()-1)))

ISO weeks in Tableau

2017-06-30 by Johan de Groot

Tableau can handle all kind of dates and dateformats very well – but one option is lacking: the use of ISO8601 weeknumbers, the one which is used all over the world, especially in Europe. 

[Read more…] about ISO weeks in Tableau

Calculate last day of month

2017-06-20 by Johan de Groot

Sometimes you need to calculate how many days a certain month – like the current month. With some nested date-calculations this isn’t that hard to calculate…

[Read more…] about Calculate last day of month

Top 2000 – 2016

2016-12-31 by Johan de Groot

Look who’s talking

2016-12-20 by Johan de Groot

Female actors are getting more important in movies. In 2016 we had Jyn as the most important Star Wars character on the Rogue One posters, Harley Quinn was the leader of the Suicide Squad according to the posters and Black WIdow seemed to be one of the most important character in the Marvel universe.

But the space female actors were given on the the posters are definitely not in line with the time they were allowed to speak. Only Dory was able to chat her way throughout the movie.

Look who’s talking

2016-12-20 by Johan de Groot

Vrouwen worden steeds belangrijker in films. In 2016 hadden we Jyn als het belangrijkste karakter op de Star Wars posters, Harley Quin leidde zo’n beetje de Suicide Squad en Black Widow is al weer een paar jaar geleden neergezet als power-vrouw in het Marvel universum.

De ruimte die ingericht wordt op de posters voor vrouwen komt niet bepaald overeen met de tijd dat zij aan het woord zijn. Alleen Dory babbelt zichzelf er doorheen.

Top 2000 – 2014

2014-12-31 by Johan de Groot

Top 2000 – 2012

2012-12-31 by Johan de Groot

Top 2000 – 2011

2011-12-31 by Johan de Groot

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 5
  • Page 6
  • Page 7

Primary Sidebar

Antichaos Services

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

Recent Blogposts

  • Live News in Tableau – setup in 10 minutes
  • Stop using red vs green in dashboards
  • Tableau Toggle Button: 3 Ways to Build an On/Off Switch
  • The Tally extension: CountTo renewed
  • 5 more Tableau Desktop Tips: Fields, Calculations & Pills
  • MeasureCamp Amsterdam 2026: the power of the blank board
  • Datafam Day 2026 – Amsterdam
  • How to create pill-style navigation in Tableau
  • Tableau Visionary 2026
  • Tableau REST API Connector: Add Live Web Data to Your Dashboards

Follow & Connect on

Antichaos

Copyright © 2026 Antichaos

  • Antichaos
  • Blog
  • Tutorials
  • Privacy
  • Extensions
  • Contact