Author: johan@antichaos.nl

  • Comments in Tableau

    When you are creating a calculated field in Tableau Desktop, Server of Prep you might want to create some comments to help others see what the purpose of this field is, or explain the calculation that you made. In other situations you might want to test a line of code, and disable a previously written block of code without deleting it.

    This is all possible using comments in calculated fields.

    (more…)
  • 502 errors on datasource downloads from Tableau

    If you experience 502 errors when downloading large datasets from Tableau Server – either in a browser or Tableau Desktop – you might occur problems not related to Tableau Server, but a proxy or gateway in front of the server.

    (more…)
  • Save a Tableau workbook if you can’t save it

    A small tip for a situation that is occurring once in a while to me (probably Mac specific):

    If you have been working on a Tableau dashboard for quite a while, you suddenly can’t save the workbook anymore. ‘Save’ results in a popup which disappears very quickly, and ‘Save as’ shows the ‘save as’ dialog for a few milliseconds before disappearing again. Odd behavior – but especially annoying because you really want to save the changes you have made in the last two hours…

    (more…)
  • Year-to-date in Tableau

    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)))
  • Bohemian Rhapsody: From Top 2000 to jump-chart

    Bohemian Rhapsody: From Top 2000 to jump-chart

    Watch my presentation of the Top 2000 jumpchart, held on the Virtual User Group meeting on May 27th 2020:

  • Use Python as an Alteryx connector

    Use Python as an Alteryx connector

    Many people are kind of scared of using programming language. And sure, if you haven’t any experience using these ‘command line’ tools the learning curve may seem steep. And why should you learn a language like Python, if you have a fantastic tool like Alteryx to process your data?

    (more…)
  • Use Python as an Alteryx connector

    Many people are kind of scared of using programming language. And sure, if you haven’t any experience using these ‘command line’ tools the learning curve may seem steep. And why should you learn a language like Python, if you have a fantastic tool like Alteryx to process your data?

    (more…)
  • Top 2000 van Radio 2 — 2019

    Ieder jaar maak ik op basis van de laatste Top 2000 lijst van Radio 2 een nieuw (aantal) visualisaties.. De lijst zelf is niet heel erg spannend, dus is het interessant om te zien wat je met de data kunt doen…

    (more…)
  • Top 2000 van Radio 2 — 2019

    Top 2000 van Radio 2 — 2019

    Ieder jaar maak ik op basis van de laatste Top 2000 lijst van Radio 2 een nieuw (aantal) visualisaties.. De lijst zelf is niet heel erg spannend, dus is het interessant om te zien wat je met de data kunt doen…

    Dit jaar heb ik er voor gekozen om de beweging van de individuele titels te benadrukken. Met behulp van een een ‘jump plot’ kun je weergeven hoe iets over een as heen beweegt – zoals een nummer door de Top 2000 jaren heen over de posities 1 tot 2000 – en vaak ook hierbuiten

    En met behulp van dezelfde formules is het ook mogelijk om lijnen tussen elementen een stuk vloeiender te maken dan zomaar een rechte lijn:

    De Tableau visualisatie is een drieluik geworden met:

    • Top 2000: een overzicht van alle huidige nummers die in de lijst staan, en het pad hoe zij daar gekomen zijn.
    • Artiesten: kies je favoriete artiest, en kijk welk(e) nummer(s) in de Top 2000 staan, en wat nog wat achterliggende statistieken van deze nummers zijn.
    • Statistieken: Weetjes van ieder Top 2000 jaar: de stijgers en de dalers, de nieuwkomers en de re-entries, de zittenblijvers en de wegvallers.

    Klik op het plaatje voor de volledige interactieve versie

    This image has an empty alt attribute; its file name is Top-2000-409x1024.png

    Binnenkort zal ik de werkwijze en bijbehorende formules beschrijven (zeker niet zo lastig als je op het eerste gezicht zou denken).