Hi @ron barlow ,
Do you mean that when you export the report to excel, the ‘NoRowsMessage’ doesn't work in the excel?
If I have something misunderstood, please point out.
The “NoRowsMessage” element is not rendered when we export a report to a CSV format.
To work around this issue, we can add a textbox to display the custom message.
If the dataset return null records, the report will display the custom message. Otherwise, the textbox displays nothing. Then, we can determine whether the textbox element outputs when exporting the report. Please refer to the steps below:
Drag a “Text Box” to the subreports. Right-click on the text box and set the expression to:
=IIF(CountRows("DataSetName")=0, "No data", nothing)
Select the added text box, in the “Properties” pane, set the “DataElementOutput” to “Output”.
Regards,
Zoe
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October