Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
this is my rest api which i am using to upload report:
# https://learn.microsoft.com/en-us/rest/api/power-bi/imports/post-import-in-group
# Use the PowerBiCostMgmtApp1 Rest Client environment for the CostMgmt1 tenant.
# @name getGroups
GET https://api.powerbi.com/v1.0/myorg/groups?$filter=name%20eq%20'{{groupName}}'
Authorization: Bearer {{$aadV2Token appOnly}}
###
# Remember to update importId with the returned import ID.
@groupId = {{getGroups.response.body.$.value[0].id}}
POST https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/imports?datasetDisplayName={{fileDisplayName}}
Authorization: Bearer {{$aadV2Token appOnly}}
Content-Type: multipart/form-data; boundary=MfnBoundry
--MfnBoundry
Content-Disposition: form-data; name="files"; filename="{{filename}}"
Content-Type: application/octet-stream
< ./{{filename}}
--MfnBoundry--
how to measure time of it? I know that i can check import Id status if this is finished but i need whole time of uploading...
Thanks,
Jacek
Solved! Go to Solution.
There's nothing else available beyond the polling you are already doing.
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com
Hi @jaryszek ,
Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.
If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.
Thank you for being part of the Microsoft Fabric Community.
Hi @jaryszek ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi,
issue is not solved. There is no option to do this and this totally sucks.
Hi @jaryszek ,
We really appreciate your efforts and for letting us know the update on the issue.
As mentioned by @lbendlin, Please consider sharing your suggestion in the Power BI Ideas forum, where the product team actively monitors user feedback. Ideas with strong community support are more likely to be considered for future implementation. Posting there helps ensure your request reaches the right audience and contributes to shaping the product roadmap.
Please continue using fabric community forum for your further assistance.
Thank you
Hi @jaryszek,
Thanks for reaching out to the Microsoft fabric community forum.
Using REST API’s we can get report data sources, report data dependent items, report history snapshots, report parameter definitions or various other things
but currently it is not possible to get the time when the report was uploaded.
Please refer to this article to explore the available options and try out the ones that best suit your specific requirements.: Reports - REST API (Power bi report) | Microsoft Learn
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Ok so if you have report which take 30 min to upload how to automate workflow to refresh it after?
how people solve it?
Best,
Jacek
Set a refresh schedule before the upload. That will result in an automatic refresh attempt after the upload completes.
Ok but if report is not uploaded, i will get failure? What then?
correct the issue and try again?
My workflow for customer should ends after uploading and refreshing report.
So the sequence of rest apis will create workspace, upload report and refresh after updating.
If refresh lasts 30 min i need to know it somehow to trigger rest api immidietely after it is done.
Sheduled refresh will not work in this case.
Best,
Jacek
There is no guarantee that a refresh request will be honored. There is no guarantee that a refresh will complete successfully. If a refresh fails you should not automatically retry (looking at you, Microsoft!!!!) but should first investigate and correct the issue.
This is not something you can fully automate.
I am catching the whole idea but still if this will check status i could wrap it in some java code not in the loop but waiting for the result and make the action like: If succed--> refresh., if failure --> throw an error and fix the report.
Not workaround loops and waiting some time to try refresh.
Best,
Jacek
There's nothing else available beyond the polling you are already doing.
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com
thanks
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |