Forum Discussion
Scheduled Refresh
Hi All,
I have setup a schedule in the morning for my PowerBI Report. This works fine, but is there away you can set up the schedule so it takes the name of the report and adds the date after it automatically?
So if my report is called CRT, and at current it refreshes and saves as CRT, but I want it to refresh and save with CRT_150520 as in CRT_DDMMYY
Is this anway possible? or it will only publish my report CRT and then I have to manually save as CRT_150520?
Thank you 🙂
- Anonymous6 years ago
HI MattC2020,
Nope, power bi does not support to do these operations automatically.
In my opinion, I'd like to suggest you try to use programming language or script to coding an application to trace dataset status and try to use use 'Update Report Content In Group' API to change is report name.Logic:
1. Use 'Capacities - Get Capacities' and 'Capacities - Get Refreshable For Capacity APIs to trace special dataset statues and get 'last refresh' property for analysis.
Capacities - Get Refreshable For Capacity
2. If these contents are updated to date, you can extract refresh date time as parameters to invoke 'Report - Update Report Content In Group' API to change those report names.
Reports - Update Report Content In Group
Regards,
Xiaoxin Sheng
2 Replies
- nandukrishnavsCommunity Champion
Currently, there is no option to rename the power bi report using the rest API. So we cannot automatically rename the report after data refresh. If we have that API, we could use Microsoft flow to automate this task.
Please vote for this idea https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39768925-rename-datasets-reports-via-rest-api
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂 - AnonymousNot applicable
HI MattC2020,
Nope, power bi does not support to do these operations automatically.
In my opinion, I'd like to suggest you try to use programming language or script to coding an application to trace dataset status and try to use use 'Update Report Content In Group' API to change is report name.Logic:
1. Use 'Capacities - Get Capacities' and 'Capacities - Get Refreshable For Capacity APIs to trace special dataset statues and get 'last refresh' property for analysis.
Capacities - Get Refreshable For Capacity
2. If these contents are updated to date, you can extract refresh date time as parameters to invoke 'Report - Update Report Content In Group' API to change those report names.
Reports - Update Report Content In Group
Regards,
Xiaoxin Sheng