Forum Discussion
cannot delete dataset
- 6 years ago
Hi Anonymous ,
You can try the following method:
1. Refer to the following post: How to Delete Old Data Set?
- Goto the workspace (also referred to the app)
- On top right click on eclipses (...)
- Select "Unpublish App"
- Now go to your dataset and delete and confirm
- Click on the workspace eclipses again
- Select Edit Workspace
- Publish app again
2. Check if the dataset is part of one or more organizational content packs. If a dataset is part of one or more organizational content packs, the only way to delete it is to remove it from the content packs where it's being used, wait for it to be processed, and then try deleting it again.
If not your case, I would like to suggest you create a support ticket to investigate the issue. Once you create a support ticket, please share the same here for reference.
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
You are able to delete the dataset from Power BI onlin service, or call the API.
Here are couple of links how you can do it:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedataset
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedatasetingroup
- Anonymous6 years agoNot applicable
Thank you for the help. I'm receiving a 500 error.
Here is the service call:
DELETE https://api.powerbi.com/v1.0/myorg/groups/[GROUP ID]/datasets/[DATASET ID]
[GROUP ID] I copy and paste from Power BI in the URL after /groups/
[DATASET ID] I copy and paste from Power BI in the URL after /datasets/
Response
{
"error": {
"code": "ContentProvider_CannotDeleteModelPublishedToOrganizationalApp",
"pbi.error": {
"code": "ContentProvider_CannotDeleteModelPublishedToOrganizationalApp",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}Any ideas?
- Anonymous6 years agoNot applicable
Hi Anonymous ,
You have published your workspaces as an Organisational app.
You can delete the app first then you can try deleting the dataset.
To delete an app from Apps, Go to Apps and Click on delete symbol
Regards,
Amit- Anonymous6 years agoNot applicable
I don't have any apps pulished anymore, I removed them a long time ago. I'm sill having the issue. I really appreciate everyones suggestions? Any other ideas?