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,
thank for the reply ibarrau
So that means only admin API has $filter support for e.g GET Dataset API and non admin API don't have $filter for the same GET Dataset API
Admin Dataset GET API (with $filter) - https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-in-group-as-admin
Non-Admin GET API (without $filter) - https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets-in-group
Technically $filter could have been also supported for non-admin API any specific reason it is not supported for non-Admin ?
- ibarrau3 years agoSuper User
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,