I need to export a pbi report into pdf with slicer filters.
I have created an ExportReportRequest object and passed to await Client.Reports.ExportToFileInGroupAsync(GroupId,ReportId, exportRequest);
var exportRequest = new ExportReportRequest
{
Format = Format.PDF,
PowerBIReportConfiguration = new PowerBIReportExportConfiguration(){
Pages = new List<ExportReportPage>()
{ new ExportReportPage(){
PageName = "_pageName_" ,
}},
ReportLevelFilters = "Key/Owner eq 'Pantheon'"
}
};
I don't getting any errors or exceptions on further steps. What I getting is only the page without applied slicers. what i want is the page with applied slicers. (Table, Field and Values are valid). Did I miss anything to add ? please let me know.