Hello,
Iโd like convert the value of column type Data [Periodo] from โ1-1-2018โ to โJanuaryโ (only month)
I tried with TEXT([Periodo]),โmmmmโ) but it doesnโt work.
I tried also creating a new virtual column called โMonthโ with the following app formula but it doesnโt work when i group data in tables view
SWITCH(MONTH([Periodo]),
1,โGennaioโ,
2,โFebbraioโ,
3,โMarzoโ,
4,โAprileโ,
5,โMaggioโ,
6,โGiugnoโ,
7,โLuglioโ,
8,โAgostoโ,
9,โSettembreโ,
10,โOttobreโ,
11,โNovembreโ,
12,โDicembreโ,
โโ)
How can i change the format data correctly?
TKS
It should.
Post here your config
In the first screen I have used the formula SWITCH(MONTH([Periodo]),
1,โGennaioโ, 2,โFebbraioโ,3,โMarzoโ, 4,โAprileโ, 5,โMaggioโ, 6,โGiugnoโ, 7,โLuglioโ, 8,โAgostoโ, 9,โSettembreโ,10,โOttobreโ, 11,โNovembreโ, 12,โDicembreโ, โโ) but Itโ doesnโt work because the second image is the detail of โGennaioโ and as you can see the total of Gennaio should be 21.622,32โฌ divided for each person
The problem is that you are not receiving the result you want using it on Group By.
Stick to the SWITCH()
expression. We need to find out why the next view is not respecting itโs group.
Can you show us the UX config for that view?
Also post here your tableโs schema (All the columns on that table and itโs column type)
Yes, indeed the expression itself should work.
This is the UX config for this View. Column [Mese1] is the virtual column with the app formula, [Risorsa] is like โemployerโ
and this is the structure of DB
I dont understand what you mean what you want to do.
If you read my second post probably you will understand. The problem is that the next view not respect the group if I use the formula SWITCH(MONTH([Periodo]),
1,โGennaioโ, 2,โFebbraioโ,3,โMarzoโ, 4,โAprileโ, 5,โMaggioโ, 6,โGiugnoโ, 7,โLuglioโ, 8,โAgostoโ, 9,โSettembreโ,10,โOttobreโ, 11,โNovembreโ, 12,โDicembreโ, โโ)
on the contrary It respects the group if I use the formula MONTH([Periodo]) but iโd see the month in the extended version like โJanuaryโ
It says that [Mese1]
is type Number. Is that right? It should be the one with column type Text and the formula you posted above:
SWITCH(
MONTH([Periodo]),
1, "Gennaio",
2, "Febbraio",
3, "Marzo",
4, "Aprile",
5, "Maggio",
6, "Giugno",
7, "Luglio",
8, "Agosto",
9, "Settembre",
10, "Ottobre",
11, "Novembre",
12, "Dicembre",
""
)
Yes, I tried and If I turn number type in text type It lose the correct order of mounth but the group works correclyโฆ maybe we are close to the solutionโฆ
It should be Text, Number doesnโt makes sence.
You could add numbers.
Instead of โJanuaryโ โ โ1. Januaryโ
User | Count |
---|---|
15 | |
15 | |
8 | |
7 | |
4 |