Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
In my work space i need to get the particular datasetid and report id using rest api filter calls.
In below ADO[Dev] is my workspace, in that i have two datasets will be there. i need to get the "Embedded_**-DemoIV" datasetid reportid using rest API.
using the "GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets" api calls i am getting both datasets information , help me on this to get the right datasetid and report id information based on the filter.
https://api.powerbi.com/v1.0/myorg/admin/reports?$filter={$filter}&$top={$top}&$skip={$skip}
Try the get datasetasadmin, follow the code with parameters.
How can we use filter, any suggentions on that? i tried with below api calls but those are not working.
#Get Workspace Information
$uri = "https://api.powerbi.com/v1.0/myorg/groups?$filter=(name eq '$WorkspaceName')"
#Get Report
$uri = "https://api.powerbi.com/v1.0/myorg/groups/$workspaceID/reports?$filter=(name eq '$reportName')"
@maruboyinarao : You need to pass GUID not the description.
If this post helps, then please consider Accepting it as the solution, Give Kudos to motivate the contributors.
@maruboyinarao : I don't think the current APIs support filter by 'name' of dataset. I would suggest you to pull the details using the API
https://api.powerbi.com/v1.0/myorg/groups/{Your Group}/datasets
And filter out the dataset based on the name
"value": [
{
"id": "0c686fd",
"name": "YOUR DATA SET NAME",
"addRowsAPIEnabled": false,
"configuredBy": "",
"isRefreshable": true,
"isEffectiveIdentityRequired": false,
"isEffectiveIdentityRolesRequired": false,
"isOnPremGatewayRequired": true,
"targetStorageMode": "Abf",
"createReportEmbedURL": "",
"qnaEmbedURL": "2",
"upstreamDatasets": [],
"schemaMayNotBeUpToDate": false,
"users": []
},
If this post helps, then please consider Accepting it as the solution, Give Kudos to motivate the contributors.
Check out the November 2023 Power BI update to learn about new features.