Reason behind group by option is disabled for a column in list control

ramireddy
Mega Guru

Hi,

In list control, we have 10 columns. Out of those 10 columns, for 1 column, in context-menu, "Group by" & Other charting options are disabled. I would like to understand what is the reason behind this?

Thanks

Rami ReddyScreen Shot 2016-07-20 at 10.03.38 am.png

1 ACCEPTED SOLUTION

Hi Sergiu,



After playing with various column lengths, I understood that till 255, it allows "Group by" After that it won't allow "group by".



Thanks


Rami Reddy


View solution in original post

9 REPLIES 9

Hi Sergiu,



After playing with various column lengths, I understood that till 255, it allows "Group by" After that it won't allow "group by".



Thanks


Rami Reddy


Yes, that's correct. The string fields over 255 characters are stored differently on the database side.



Regards,


sach1
Tera Guru

Ram,



Grouping is not possible on string type of fields. Reference,Choice,Date/Time fields have unique value which ServiceNow can use to group.



Mark correct if you find it helpful.


ramireddy
Mega Guru

Hi Sachin,



In same table, I have another string column with size as 100. I am able to "group by" based on that field.




Thanks


Rami Reddy


Group by on string columns is possible. Group by on date/time is not possible.



Regards,