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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to set page level filters during report export?

We are using POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo to export report page. According documentation it is possible to use reportLevelFilters field to set report level filters and page level filters are not working there.

 

Example request body:

 

{
  format: 'PDF',
  powerBIReportConfiguration: {   
    pages: [
	  pageName: '<page name>'
	],
	reportLevelFilters: [
	  filter: '<report level filter>'
	]
  }
}

 

 

How we can set page level filters?

4 REPLIES 4
Anonymous
Not applicable

@lbendlin Thank you. Yes, it works. But how it is possible to override or ignore default filters?

 

1. Report has filter for field field_a with default value = 'value 1'.

2. We are calling https://api.powerbi.com/v1.0/myorg/reports/%7BreportId%7D/ExportTo with powerBIReportConfiguration.filter = ["field_a eq 'value 2'"].

 

Expected behaviour

Filter by value 2 applied.

 

Actual behaviour

Filter by value 1 and by level 2 applied.

 

that's not the right format. You need to specify the table name too.

lbendlin
Super User
Super User

same structure as this

Filter a report using query string parameters in the URL - Power BI | Microsoft Learn

 

ODATA filter format, escaping special characters.

Anonymous
Not applicable

@lbendlin Yes it is working, but is not possible to override report default filter values. If some default filter value (report or page level) is set it is possible to override it during report displaying (for example in React app). How it is possible to override default filter during REST API export or maybe such funcitonality plan to be added later?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.