Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello.
I use the API request to get the latest refresh date for the available datasets.
GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/refreshes
It works well for the majority of cases but for some datasets, it returns "" even it was refreshed not a long time ago.
Does anyone know how to fix this?
Solved! Go to Solution.
We identified that we get blank values for the datasets that users upload to the Service from time to time and do not use the "refresh" button.
We identified that we get blank values for the datasets that users upload to the Service from time to time and do not use the "refresh" button.
Hi @olegkazanskyi ,
I would triple check the dataset id. It would appear to me that you are getting a "null" because there is nothing being grabbed by the API.
OR - do you have the permissions to see that dataset (or the userid that you are using the API with)?
Proud to be a Datanaut!
Private message me for consulting or training needs.
Hi @collinq ,
Yes, the account has an admin access level to the workspace.
I've double-checked the dataset_id and it is correct. It was retrieved from another scanning script.
Hey @olegkazanskyi ,
Does the status show "Failed" or "Completed" when it is null?
Proud to be a Datanaut!
Private message me for consulting or training needs.
Hi @olegkazanskyi ,
This sounds quite unusual. I think that because this is something that Microsoft can see that we can't I would turn in a ticket and have Microsoft find what they see on their side.
Proud to be a Datanaut!
Private message me for consulting or training needs.