Compartilhar via


Enter Data feature now available in SQL Server 2016 Report Builder

Note: This project was done by the summer intern for the Reporting Services team, Xiaosheng (Wilson) Wu.  Great work, Wilson!

We recently released a new version of SQL Server 2016 Report Builder that contained a brand new feature – the ability to enter data directly into an RDL report as an embedded dataset.  This new feature is similar to the one found in Power BI Desktop. Now, customers can either type the data in directly into a dataset in their report, or paste it in from another program like Microsoft Excel.  Once users have created their dataset by entering data, they can use it just like they would any other embedded dataset they’d created.  This feature is especially useful for small, static datasets you might need to use in your report like report parameters.

How to get started

Once you’ve downloaded and installed Report Builder, you’ll follow the same workflow you’ve previously used to add an embedded data source and dataset to your report.  Under Data Sources, you’ll see a new option labeled “Enter Data” that you’d select.  You only need to set this data source up once, since you’ll the be able to create multiple tables of entered data as separate datasets using that single data source.

image

To begin entering data in a new table, create a new dataset in your report and hit the “Query Designer” button to start entering data into the table that appears.

image

You can set the column headers by double-clicking the cell or using the option in the right-click menu to change the name.  By default, the data type for each column is a String.  You can optionally right-click the column header and set it to other data types like Date or Integer.  Once you’ve finished creating the table, click OK.  Note: Long time users of Report Builder will notice that the query that’s generated is the same as you’d see with an XML data source. Under the covers, that’s what we’re using as the data provider.  We've just re-purposed it to enable this scenario as well. image

Once you’ve finished creating your report, you’ll probably want to publish that to your report server.  We’re planning to enable this new data extension automatically on the server in the next update of Power BI Report Server and next release of SQL Server, but you don’t need to wait until then to use this.  If you’re using SQL Server Reporting Services 2016 or 2017 (or Power BI Report Server), you can add the following item to your RsReportServer.config as an additional data extension.  Please note: You should back up your RsReportServer.config file prior to making the change in case you run into any issues.

<Extension Name="ENTERDATA" Type="Microsoft.ReportingServices.DataExtensions.XmlDPConnection,Microsoft.ReportingServices.DataExtensions">
<Configuration>
<ConfigName>ENTERDATA</ConfigName>
</Configuration>
</Extension>

Once completed, the list of data providers in the config file should look like this:

image

That’s it – you can now publish your reports that use this new functionality to your report server!

For report authors who use SQL Server Data Tools instead of Report Builder, you’ll see this functionality added in the upcoming release of that product as well.  We're also looking at ways to simplify the UI and take users to this new functionality right from the toolbar.

Get it now and send us your feedback

Comments

  • Anonymous
    September 12, 2018
    Hey that's great news! Question. Do you all have an update on the status of the HTML5 ReportViewer you acquired from Forerunner software? My company is in DESPERATE need of an SSRS Html5 ReportViewer that will work in an Angular 6 SPA application. Thanks in advance.
    • Anonymous
      September 12, 2018
      The comment has been removed