Forum Discussion
taoyang
9 years agoNew Member
Checking retention policy for existing datasets
After a dataset is created, is there a way to check the retention policy? I have created some datasets using REST API described in this blog article: https://powerbi.microsoft.com/en-us/blog/automati...
Eric_Zhang
9 years agoMicrosoft Employee
It seems there's no way. Though the documentation in your link says
HEADERS
Content-Type:application/json
Location:https://api.powerbi.com/v1.0/myorg/datasets/{dataset ID}
BODY
{
"@odata.context": "https://api.powerbi.com/v1.0/myorg/$metadata#datasets/$entity",
"id": "7c0b090e--172874c749e0",
"name": "SalesMarketing",
"defaultRetentionPolicy": "basicFIFO"
}
I actually get below result when I call that request.
You can submit your request at Power BI Ideas and vote it up.
taoyang
9 years agoNew Member
Eric_Zhangthanks for your help :)