Forum Discussion
smpa01
2 years agoCommunity Champion
Export to PDF
I am using ExportToFile API which is amazing to say the least.
How can I specify a page so that it only exports pgName=Pg10 instead of whole report. Also, I nedd to use a Filter . I tried this in ...
- 2 years ago
This is absolutely doable from the report with n number of pages. I have tested out.
Worflow => ExportToFile->Polling->Get File Of Export To File
$requestBody = @" { "format": "PDF", "powerBIReportConfiguration": { "pages": [ { "pageName": "ReportSection1234567890" } ], "reportLevelFilters": [ {"filter": "Calendar/Month in ('Jan')"} ] } } "@@
GilbertQ
2 years agoSuper User
Hi smpa01
I'm not sure if this is possible to export a single page in a report. What I would do is just to create a new report with the single page, which you could then export.
- smpa012 years agoCommunity Champion
This is absolutely doable from the report with n number of pages. I have tested out.
Worflow => ExportToFile->Polling->Get File Of Export To File
$requestBody = @" { "format": "PDF", "powerBIReportConfiguration": { "pages": [ { "pageName": "ReportSection1234567890" } ], "reportLevelFilters": [ {"filter": "Calendar/Month in ('Jan')"} ] } } "@@