ORDERBY MONTH SWITCHED IN WORD

Hello to everyone,

i’m trying to put in x axis in my chart, the month with this formula in a virtual column type number:

CONCATENATE(YEAR([DATA]),“/”,

SWITCH(MONTH([Data]),
1,“Gennaio”,
2,“Febbraio”,
3,“Marzo”,
4,“Aprile”,
5,“Maggio”,
6,“Giugno”,
7,“Luglio”,
8,“Agosto”,
9,“Settembre”,
10,“Ottobre”,
11,“Novembre”,
12,“Dicembre”,
“”))

in order to switch the number of month in word but in the graph i see the month in alphabetic order.

I would use the function ORDERBY but i don’t know how.. Someone could help me? tks

Hey bro, How are you?

Try

CONCATENATE(YEAR([DATA]), "/", MONTH([Data]))

You have to concat the month number before the month name.

I tried this but the order is by alphabet month..

CONCATENATE(SWITCH(MONTH([Data]),
1,“Gennaio”,
2,“Febbraio”,
3,“Marzo”,
4,“Aprile”,
5,“Maggio”,
6,“Giugno”,
7,“Luglio”,
8,“Agosto”,
9,“Settembre”,
10,“Ottobre”,
11,“Novembre”,
12,“Dicembre”,
“”), “/”, YEAR([DATA]),

)

1 Like

I meant like “1. Gennaio”, not just “Gennaio”.

2 Likes

yes, I have done in this way but i don’t like too much as visualization