/build/static/layout/Breadcrumb_cap_w.png

Miscellaneous Question


Reporting - adjust column width

11/08/2019 156 views

I have a custom Service Desk report that includes some long text columns like hd_ticket summary and title. The text of the pdf output of the report is way too small. Is it possible to reduce the width of the columns on the output, and still have them wrap so that the text is large enough to read in the pdf? Here is my report:

select

T.ID

    ,T.TITLE

    ,T.SUMMARY

    ,T.CUSTOM_FIELD_VALUE1

    ,T.RESOLUTION

    ,ifnull((select FULL_NAME from USER where T.OWNER_ID = USER.ID),' Unassigned') as OWNER_NAME

    ,(select FULL_NAME from USER where T.SUBMITTER_ID = USER.ID) as SUBMITTER_NAME

,GROUP_CONCAT(C.COMMENT SEPARATOR '\n--------\n') COMMENTS


from HD_TICKET T

left join HD_STATUS S on T.HD_STATUS_ID = S.ID

join HD_TICKET_CHANGE C on T.ID = C.HD_TICKET_ID


where S.STATE = 'closed' 

and T.TIME_CLOSED > DATE_SUB(NOW(), INTERVAL 7 DAY)

and T.HD_QUEUE_ID = 6


GROUP BY C.HD_TICKET_ID


0 Comments   [ + ] Show comments

Comments


All Answers

1

If you want to have more control of the report formatting, then I recommend using an actual report writing tool like Crystal Reports. You could also get away with using MS Excel with the MySQL ODBC connector or a tool like PowerBI.

Answered 11/11/2019 by: chucksteel
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share