Enter data directly in a paginated report in Report Builder - Power BI
APPLIES TO: ✔️ Power BI Report Builder ✔️ Power BI service ❌ Power BI Desktop
In this article, you learn about a feature in Microsoft Power BI Report Builder that lets you enter data directly into an RDL report as an embedded dataset. You can type the data directly in a dataset in your report, or paste it from another program like Microsoft Excel. After you've created a dataset by entering data, you can use it just like you would any other embedded dataset you've created. Plus you can add more than one table and use one as a filter for the other. This feature is especially useful for small, static datasets you might need to use in your report, like report parameters.
Prerequisites
- To enter data directly in a paginated report, download and install Power BI Report Builder.
- To save your paginated report to the Power BI service, you need a Power BI Pro account or Premium Per User (PPU) license, and write access to a workspace in a Power BI Premium capacity.
- To save your paginated report to a report server, you need permissions to edit the RsReportServer.config file.
Create a data source and dataset
After you’ve downloaded and installed Report Builder, you follow the same workflow you use to add an embedded data source and dataset to your report. In the following procedure, under Data Sources you see a new option: Enter Data. You only need to set up this data source once in a report. After that, you can create multiple tables of entered data as separate datasets, all using that single data source.
In the Report Data pane, select New > Dataset.
In the Dataset Properties dialog box, give your dataset a name. Don't include spaces.
Next to Data source, select New.
In the Select connection type box, select Enter Data > OK.
Back in the Dataset Properties dialog box, select Query Designer.
In the Query Designer pane, right-click and paste your data in the table.
To set the column names, double-click each NewColumn and type the column name.
If the first row contains column headings from the original data, right-click and delete it.
By default, the data type for each column is String. To change the data type, right-click the column header > Change Type, and set it to another data type, such as Date or Float.
When you’ve finished creating the table, select OK.
The query that’s generated is the same as you’d see with an XML data source. Under the covers, we’re using XML as the data provider. We’ve repurposed it to enable this scenario as well.
In the Dataset Properties dialog box, select OK.
You see your data source and dataset in the Report Data pane.
You can use your dataset as the basis for data visualizations in your report. You can also add another dataset and use the same data source for it.
Design the report
Now that you have a data source and dataset, you're ready to create your report. The following procedure creates a simple report based on the data in the previous section.
On the Insert menu, select Table > Table Wizard.
Select the dataset you just created > Next.
In the Arrange fields page, drag fields you want to group by from the Available fields box to the Row groups box. In this example:
- CountryRegion
- SalesYear
Drag the fields you want to aggregate from the Available fields box to the Values box. In this example:
- SalesAmount
By default, Report Builder sums the fields in the Values box, but you can choose another aggregation.
Select Next.
In the Choose the layout page, keep all the default settings, but clear Expand/collapse groups. In general, expanding and collapsing groups is great, but this time we want to see all the data.
Select Next > Finish. The table is displayed on the design surface.
Run the report
To see the actual values and preview the report, you run it.
Select Run in the Home ribbon.
Now you see the values. The matrix has more rows than you saw in Design view! You can either format the page or decide to use the default settings before saving to your local computer or publishing to the service.
To see how your report will look when you print it, select Print Layout.
Now you see it as it will look on a printed page.
Upload the paginated report to the Power BI service
Now that paginated reports are supported in the Power BI service, you can upload your paginated report to a Premium capacity. See Upload a paginated report for details.
Upload the paginated report to a report server
You can also upload your paginated report to a Power BI Report Server or SQL Server Reporting Services 2016 or 2017 report server. Before you do, you need to add the following item to your RsReportServer.config as an additional data extension. Back up your RsReportServer.config file before you make 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>
After you've edited it, here's what the list of data providers in the config file should look like:
That’s it – you can now publish reports that use this new functionality to your report server.
Next steps
Feedback
Submit and view feedback for