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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
jaryszek
Resident Rockstar
Resident Rockstar

ExportToFile how to use repotLevelFilter example

Hello,

 

using rest api to generate PDF from power bi report. 

my body is:

{
  "format": "PDF",
  "powerBIReportConfiguration": {
    "pages": [
      { "pageName": "9239c7e57318c00529b1" },  // Datamart
      { "pageName": "4e4e3e8bbb5003f74890" },  // Azure NetApp Files
      { "pageName": "c0d90322bab9ebf29cc8" },  // Version
      { "pageName": "371102698be09cb104a6" }   // Budgets Daily
    ],
   "reportLevelFilters": [
  {
    "filter": "Dim_EA_Classification_BudgetEvaluations/Category eq 'CCHBC AA Lab/Advanced Analytics/Data Platforms'"
  }
]
  }
}

 

PDF is successfully generated, but there is no filter applied. 
Can anybody explain in simple terms how can i Use this filter? 

Why this is not working? If this is a wrong syntax?

 

And this is per report or per table? 

 

And one more bonus question:

If i can set up filter on table data, what about slicers? How to make them be filtered by a specific value? It is possible by ExportToFile?

Best,
Jacek

 

Best,
Jacek

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @jaryszek 

 

As you mentioned, have you tried to put in a slicer on the report page and see if when you export to PDF if that works successfully?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi @jaryszek 

 

As you mentioned, have you tried to put in a slicer on the report page and see if when you export to PDF if that works successfully?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.