0

Formula to sort month

Hi Fred. Need to sort the graphic from Jan to Dec, the data is in the Gastos table (the gray data).

I try this but don't work 

select Gastos order by month(this.Mes)

3 replies

null
    • Ninox developper
    • Jacques_TUR
    • 1 yr ago
    • Reported - view

    "Mes" is the name of the month. So, they are sorted alphabetically. Try using Month# for sorting:
    select Gastos order by month(this.Month#)

      • Rafael Sanchis
      • Rafael_Sanchis
      • 1 yr ago
      • Reported - view

       Hi Jacques not work  (select Gastos) order by month(this.'Month#')

      The Month# formula is correct:   month(Fecha_Gasto)

      • Rafael Sanchis
      • Rafael_Sanchis
      • 1 yr ago
      • Reported - view

      now is OK Jacques Thanks.