Xclipse
September 3, 2025, 11:57am
2
Hi @QS_User
Welcome to the Quick Sight community!
To display months as Jan, Feb, till Dec in chronological order in an filter, you need to create a calculated field that maps month names to their corresponding month numbers and then use the month number to sort the month names chronologically.
Example:
ifelse(
{Month}='January',1,
{Month}='February',2,
{Month}='March',3,
{Month}='April',4,
{Month}='May',5,
{Month}='June',6,
{Month}='July',7,
{Month}='August',8,
{Month}='September',9,
{Month}='October',10,
{Month}='November',11,
{Month}='December',12,0
)
Please refer the below community posts this might be helpful for you.
In my dataset,I have a field which has Month name stored as Text datatype, in the custom SQL query I have applied order by function and the month names are in ascending order only but in the filter the month names are not in ascending order
[20250808_214634]
Hi @Skodati8 , to sort the month in chronological order, you’ll need to create a month sort column in the dataset or in the analysis as shown below. After that column is created, go to the Field Wells of the x-axis → select Sort options → Select the month sort column you created to sort by → select aggregation as sum → click Apply.
Here’s an example of how to create the month sort column.
ifelse({Month} = ‘January’,1,
{Month} = ‘February’,2,
{Month} = ‘March’,3,
{Month} = ‘April’,4,
{Month}…