Forum Discussion
IS $filter URL parameter only supported for Groups and Admin API ?
- 3 years ago
Hi. We don't know Microsoft reasons for not adding a filter to a request of their Rest API. I guess because Admin API is more massive and a filter might become handy. The get datasets from datasets category will only show the datasets the user logged is added to a workspace. The admin can bring them all.
I hope that helps,
Hi. Each parameter or body at the Rest API depends on the specific request. That specific parameter it's more frequent an Admin one because Admin API is more massive bringing requests against all tenant. The other requests might ask for things that will bring less results.
If you want to filter datasets you can use the Get Datasets from the Admin API
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-in-group-as-admin
I hope that helps,