Forum Discussion
Anonymous
6 years agoNot applicable
Dataset {dataset_id} is not Push API dataset
Hello, I'm trying to retrieve records from within a dataset/table and i'm receiving the following response: {
"error": {
"code": "ItemNotFound",
"message": "Dataset {dataset_...
Jayendran
6 years agoSolution Sage
Hi Anonymous ,
The problem is you are trying to retrieve the table on the exisiting dataset, which is created from PowerBI Desktop/PowerBI Service. In such case you couldn't able to use this API.
This API is supports only Push DataSet
So what is Push DataSet ?
Instead of creating the dataset from PowerBI Desktop/Service,you need to create it using API (Push Datasets - Datasets PostDatasetInGroup)
POST https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/datasets?defaultRetentionPolicy=basicFIFO
Body:
{
"name": "SalesMarketing",
"defaultMode": "Push",
"tables": [
{
"name": "Product",
"columns": [
{
"name": "ProductID",
"dataType": "Int64"
},
{
"name": "Name",
"dataType": "string"
},
{
"name": "Category",
"dataType": "string"
},
{
"name": "IsCompete",
"dataType": "bool"
},
{
"name": "ManufacturedOn",
"dataType": "DateTime"
}
]
}
]
}Anonymous
4 years agoNot applicable
Who the heck creates reports in this way.... what use is this API - the expectation is that it performs the way the OP wants it to. Can someone answer the question properly please?
If this one doesn't list the tables used within a Tabular Model/dataset then which API should be used?
Thanks