Sorting rows in a Histogram

Hi, I am creating a histogram that groups a number by month. My month is saved as a text (Jan-20, Feb-20, March-20 etc.). The output displayed is sorting the months in alphabetical order starting with Apr-20. Is there a way to sort it in correct month order?

0 2 778
  • UX
2 REPLIES 2

Hmmmโ€ฆ difficult.

Typically Iโ€™d say something like: โ€œIf you change the column type to Enum, and specify the options in the definitions, then the order of the options is used most the time for sorting.โ€

But since weโ€™re talking about a histogram - and it sounds like this will need to be something fluid, meaning it should be able to adjust and grow based on values used, not needing to be โ€œhard codedโ€ like you would with an Enum column - Iโ€™m not sure what to use here.

Maybe try the Enum column and see if it works?

Mike_T
New Member

Not pretty but found a workaround to sort Histogram Chart. Iโ€™m using a Virtual Column to count the number of [Start Date]s I have per month. This is the formula Iโ€™m using in the VC:

Concatenate(Month([Start Date])," - ",INDEX(
LIST(
โ€œJanโ€, โ€œFebโ€, โ€œMarโ€, โ€œAprโ€, โ€œMayโ€, โ€œJunโ€,
โ€œJulโ€, โ€œAugโ€, โ€œSepโ€, โ€œOctโ€, โ€œNovโ€, โ€œDecโ€
),
MONTH([Start Date])
))

I end up with this:

Top Labels in this Space