Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
64 | |
31 | |
28 | |
26 | |
26 |
User | Count |
---|---|
55 | |
49 | |
41 | |
15 | |
13 |