I need to be able to include static labels into a report for non-empty fields. Labels should not be included in a report if a field is empty. For example, ‘Genre:’ label should be included if ${Book.literatureType.name} is not empty, otherwise it should be omitted.
You can create a band with a groovy-script and format the output. Or you can fully form the text and transfer it to one tag, and if formatting is required, use the html formatter (Форматы значений полей - Платформа CUBA. Генератор отчётов).