Skip to main content
Solved

QUESTION: bar chart/order of week days mixed up


  • New Participant
  • 4 replies

Hi guys,

tried the interface designer the first time today. in one of our bar charts the order of the week days is mixed up (see below). There are only two options (ascending, descending) which doesn’t help us.
Any idea how we can set it up correctly?

Thanks a lot,
Reg. Sabine


Best answer by Sabine

Here we go, if we format the Weekday that way, the chart also works well:

View original
Did this topic help you find an answer to your question?

7 replies

ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8748 replies
  • February 6, 2022

My guess is that the only way to accomplish this would be to create a formula which puts the day number in front of the name.


  • Author
  • New Participant
  • 4 replies
  • February 6, 2022
ScottWorld wrote:

My guess is that the only way to accomplish this would be to create a formula which puts the day number in front of the name.


Oha…
What is the criteria Airtable is ordering week days?


kuovonne
Forum|alt.badge.img+17
  • Brainy
  • 5996 replies
  • February 6, 2022
Sabine wrote:

Oha…
What is the criteria Airtable is ordering week days?


The issue is that Airtable does not know that these are week days. The chart is sorting the labels alphanumerically. In order to get the sort you need to have the alphanumerically sort match the sort you want–hence converting the weekday to a number.


ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8748 replies
  • February 6, 2022

You may not even need to create a formula, if that is just some sort of a text field where you typed or selected the weekdays. If so, you can just add a number before the weekdays, if you want.


  • Inspiring
  • 3264 replies
  • February 7, 2022
kuovonne wrote:

The issue is that Airtable does not know that these are week days. The chart is sorting the labels alphanumerically. In order to get the sort you need to have the alphanumerically sort match the sort you want–hence converting the weekday to a number.


Complete insanity. This is why successful chart platforms abstract labels and other visual elements from IDs.

Airtable should spend all of its charting budget on clean and code-free integrations to Charts.js, D3 and Vega and stop the madness.


  • New Participant
  • 3 replies
  • February 9, 2022

If you setup the Wochentag field in your table as a single-select, then you can order those single select options however you want by dragging them. That order would then become the “ascending” order in your bar chart.


  • Author
  • New Participant
  • 4 replies
  • Answer
  • February 12, 2022

Here we go, if we format the Weekday that way, the chart also works well:


Reply