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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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