A Jaspersoft Custom report exported as docx includes a table with bytes.
Since the counters result in large values, how can I convert the values from bytes to MB or GB to make them more human-readable?
This request is 'out of scope' for Broadcom Support. We don't configure custom reports for customers, that falls more within the area of field services/consulting.
Nevertheless, you have 3 options,
Create a custom report that uses a query/sql statement
c. If you're using/running a query within the custom report, it IS possible to convert the values from bytes to MB / GB. As an example for Microsoft SQL Server, see:
How to convert bytes to MB and add mb at end of result in sql query
https://www.codeproject.com/Questions/1063084/How-to-convert-bytes-to-MB-and-add-mb-at-end-of-re
Query to convert from MB into a GB value
https://stackoverflow.com/questions/37348032/query-to-convert-from-mb-into-a-gb-value
Depending on your UIM backend database, there are other examples for other database types as well such as Oracle and MySQL.