How to :: manage data order in your tiles

Overview

You can force a certain layout/order of your indicateurs in your tiles. By default, it will be the alphabetical order.

📝 I’m analyzing the number of people visiting my mall by day. So I’d would like to order my data by the day of the week. The day of the week are contained in the label column of my data file.

Sort values

For some tiles you can select a default order from the tiles parameters menu. Ascendant or descendant.

📝 Do I want to identify first the worst performers? or the best ones? What decision should I be able to make?

sort tiles

sort tiles

Configure order from a column

Warning

This is only available from the code mode.

From the code mode you can also set the order of your values from a column.

Add an order by parameter. Fill the "" with the name of the column containing the order. It can be a int or str column, by default it will be asc and alphabetical order.

order:
  by: ""

Configure order from a list

Warning

This is only available from the code mode.

From the code mode you can also manually set the order of your values.

Add an order custom parameter. Fill the [""] with the literal value of the label/group/pack. Separate values with , and add them in the order you wish them to be displayed.

order:
  custom: [""]

📝 I want to see Paris first, what ever the value is. I would use :

order:
  custom: ["Paris"]

📝 I want to see Paris first, then Monaco, what ever the values ares. I would use :

order:
  custom: ["Paris", "Monaco"]