Articles in this section

How to Export CSV Without Table Headers in Bold Reports Report Server

Published:
Updated:

To export a report to CSV without the table header in Bold Reports Report Server, open the report with Edit as XML, add an empty <DataElementName></DataElementName> element to every detail-row text box, then publish and export. The CSV output then holds only data rows and drops the default column names such as TextBox4.

When to use this

Use this when a CSV export shows default text box names such as TextBox4 or TextBox5 as column headers and you want the file to hold data rows only. A header-free CSV is cleaner for downstream imports and for large datasets. This applies to the on-premises Report Server, where report processing and export run on the server.

Steps

  1. Create a report with a Tablix report item on your Report Server. See Create an RDL report and the Tablix report item documentation.
    image.png

By default, when exporting the report to a CSV document, the detail row textboxes names will render as column name. Refer to the design snap below for clarification.

Design Snap:

image.png

image.png

CSV Export:

image.png

  1. Publish the report to your Report Server.

Back up first. The next steps edit the published report definition directly. Download the report’s .rdl (or keep your local copy) before you continue, so a bad edit is recoverable.

  1. Open the report listing page, select the report’s Actions menu, and choose Edit as XML.

    image.png

    image.png

  2. In the XML editor, use the Search option to find each detail-row text box name, such as TextBox4 and TextBox5.

  3. Add an empty DataElementName element to each detail-row text box:

    image.png

    image.png

    <DataElementName></DataElementName>
    
  4. Repeat step 5 for every detail-row cell in the Tablix. If the Tablix has many columns, each detail-row text box needs its own empty DataElementName.

  5. Save the XML changes, publish the report, and export it to CSV.

Note: By default, each detail-row text box renders its name (for example, TextBox4) as the CSV column header. An empty DataElementName replaces that name with a blank value, so no header text is written.

image.png

Result

The exported .csv file now contains only the data rows. The header row with default names such as TextBox4 and TextBox5 no longer appears.

Related articles

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied