Forum Discussion
Checking retention policy for existing datasets
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.
- taoyang9 years agoNew Member
Eric_Zhangthanks for your help :)
- jarvis_chen9 years agoNew Member
I have the same issue on setting basicFIFO on creating new data set following the example here:
http://docs.powerbi.apiary.io/#reference/datasets/datasets-collection/create-a-dataset
I do not see any output from the HTTP request showing the dataset is indeed created as basicFIFO. I have tried to push 200,000 into one dataset created with defaultRetentionPolicy = basicFIFO. However, it does not seem to work, and the dataset keeps growing even after hitting 200,000 marks. So far, I have not found any way to resolve this.
- Anonymous7 years agoNot applicable
I don't think its a hard limit on 200 k. I've seen the dataset grow as much as 211k before purging records and drop back to 206 k.