Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
My exportfilter for PowerBIReportConfiguration is not being applied on the output extract,can someone help where i have gone wrong
$filter1 = "Tech"
#REPORT CONFIGURATION
$bodyExport = "{`"format`":`"pdf`",
`"powerBIReportConfiguration`": { `"reportLevelFilters`": [{ `"filter`": `"AzureADUserProperties/Department in ($filter1) `" }]}
}"
$Folder = "c:\temp\"
$filename = $Folder + "PowerBIMetrics.pdf"
#Reports - Export To File In Group - Run the Job
try {
$url1 = "https://api.powerbi.com/v1.0/myorg/groups/$groupid/reports/$Reportid/ExportTo"
$FileExport = Invoke-RestMethod -Method Post -uri $url1 -Headers $authHeader -body $BodyExport
$id = $FileExport.id
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @EricShahi ,
Glad you solved the problem, I will change the status to DELIVERED.
Best regards,
Community Support Team Selina zhu