ServiceBreez Posted January 17, 2021 Report Share Posted January 17, 2021 Is there anyway possible to group by a text area field? Whether that is via datapage option or sql I need a way to do this. Thanks! Quote Link to comment Share on other sites More sharing options...
0 Aether Posted January 18, 2021 Report Share Posted January 18, 2021 Hi @ServiceBreez, The workaround to use a Text(6400)/Text area field in the Group By on the Tabular Report DataPage is to add a Formula field in your table and convert the Text(6400) field like this: CONVERT (VARCHAR(255), [@field:6400]) And then use that newly added Formula field to Group By your Tabular report. -------- As for the SQL, you can only use the Group By function if you are using SELECT with aggregation. Like this: (SELECT COUNT(ID) FROM TABLENAME GROUP BY DATE) I hope this helps! Quote Link to comment Share on other sites More sharing options...
0 ServiceBreez Posted January 19, 2021 Author Report Share Posted January 19, 2021 Thank you WatashiwaJin!! Quote Link to comment Share on other sites More sharing options...
0 ServiceBreez Posted January 19, 2021 Author Report Share Posted January 19, 2021 @WatashiwaJin I am attempting this now. I've created the formula field. But where can I select Group By? It is not showing enable grouping on this field. Quote Link to comment Share on other sites More sharing options...
0 ServiceBreez Posted January 19, 2021 Author Report Share Posted January 19, 2021 @WatashiwaJin - sorry - I realized that you are suggesting to create the formula field in the TABLE not in the datapage. I am trying that now. Quote Link to comment Share on other sites More sharing options...
0 ServiceBreez Posted January 19, 2021 Author Report Share Posted January 19, 2021 OK this worked as suggested, thank you! One thing to note for others that may go down this path, it cuts off at 255 characters. So grouping is possible (yay!), but unfortunately displaying the full text area is limited to 255. Thanks again @WatashiwaJin Aether 1 Quote Link to comment Share on other sites More sharing options...
Question
ServiceBreez
Is there anyway possible to group by a text area field? Whether that is via datapage option or sql I need a way to do this. Thanks!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.