New Power BI update lets you add parameters to a URL

Reading time icon 3 min. read

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Power BI URL parameters for paginated reports

After receiving a new set of capacity settings to give more control to admins, Power BI‘s August update brought new features like grouping and Analytics.

Power BI gets URL parameters for Paginated Reports

Now, Microsoft has released a new update to introduce the support for URL parameters for paginated reports in the Power BI service.

In other words, report authors now have the ability to send commands to paginated reports in Power BI by just adding a parameter to a URL.

When you create a report parameter in Power BI Report Builder, you set a parameter name. If you want to use report parameters, you’ll have to add rp: in front of the parameter name for Power BI to recognize it in the URL.

For example, to set a report parameter in an URL, you’ll have to use rp:parameter=value.

Here’s how Christopher Finlan, Principal Program Manager for Power BI is describing the use of URL parameters:

So if I want to specify a value for the “Salesperson” parameter for my report in an app, I’d use the following URL:

If “Salesperson” was instead a multi-value parameter that accepted multiple values, I can use an & to add an additional parameter value to my URL like so –

Furthermore, Microsoft also announced the introduction of a new feature this week called Generate Link.

This feature aims to help with the discovery of the parameter names by generating a link of the current report with the parameter values appended to the URL.

Also, besides report parameters, you can set the export format of your report in the URL. Using the rdl: prefix will allow you to set the output format in which the report can be downloaded directly into the URL.

Here’s how it should look like if the output format is designated as PDF:

If you want to learn more about URL parameters and see more examples, be sure to check Microsoft’s official documentation page.