Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
alexandersid
New Member

Export paginated report with multiple parameters

Hi all! 

Currently I'm trying to export reports via REST API. Due to current limitations in API and need to export reports in multiple various states (after applying filters) it was decided to opt for Paginated reports as they allow using parameters in request body. It worked fine with single parameter like this:

{

format: 'PDF',

paginatedReportConfiguration: {

parameterValues: [

{ name: 'status', value: 'Completed'}

]

}

}

However, this didn;t work with several parameters like the following:
{

format: 'PDF',

paginatedReportConfiguration: {

parameterValues: [

{ name: 'status', value: 'Completed'},

{ name: 'month', value: '2'},

{ name: 'year', value: '2020'}

]

}

}

Could someone with more experience in Power Bi API to clarify the reason I'm getting an error and point to possible solution?

(note that each request body from above was sent to its own report, first to report with single parameter, second to report with multiple parameters)

The error shown in console:

To community.png

1 REPLY 1
Anonymous
Not applicable

Hi, 

The parameter Name in the body should be the exact parameter name and not the prompt name.

vasanthi_1-1600530906716.png

 

This body worked out for me:

 

{
"format" : "csv",paginatedReportConfiguration :
{
"parameterValues":
[
{"name": "ScenarioName","Value": "2020 (5+7)"},
{"name": "DimEntityEntityCode","Value": "210"}

]
}
}

 

Could you let me know if it worked out for you..

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.