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

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

Reply
prathyoo
Advocate II
Advocate II

URL filtering for Power BI Rest API

Hi,

 

I am trying to use the 'Get Reports in Group' API and am struggling with the $filter parameter. The $filter parameter seems to accept name and datasetId for filtering but I would like to filter on the reportType as well. Is there any documentation on which fields in the output json are filterable.

 

https://api.powerbi.com/v1.0/myorg/groups/4927xxxxxxxxxxxxxxx18a593f/reports?%24filter=datasetId%20e...

 

I was trying the above api call and get a 400 response code. If I remove the reportType filter, the api responds back with the json output listing all the reports in the workspace associated to the datasetId in the filter.

3 REPLIES 3
lbendlin
Super User
Super User

Do you want to distinguish between PowerBIReport and PaginatedReport ?

 

It might be simpler (and faster) to pull the entire API response down and filter it later. 

Yes. The idea is to use power automate to export the rdl files as well as pbix files associated to a particular dataset to store it in sharepoint. But, I couldn't find documentation on which fields can be used in the filter parameter of the api url. So far my test indicates that the name and datasetId fields could be used to filter the output of the api call. 

I don't think these filters actually do anything.  At least in my tests they had no effect.

 

This might trip you up as well: 

 

Note: Paginated reports (rdl) don’t have a dataset. As a result, in the API response for paginated reports, the dataset ID value isn’t displayed.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.