Forum Discussion
Query changes for scheduled refresh in Service
- 4 years ago
Hey Winniethewinner ,
When you publish from the desktop it SHOULD refresh on the Service but that is not always a given. If you want to be sure, what I do (unless the query is massive) is to refresh in desktop, then publish and then update app and I know all is well.
However, worst case scenario, you are right that the Service can potentially have some data that is "newer" than the other. But, that only lasts until the next scheduled refresh when everything gets caught up.
Hi Winniethewinner ,
There could be a few levels here. The scheduled refresh runs based on the Service settings. So, modifying the report doesn't affect the schedule refresh.
That said, modifying the report may affect the ability of the report to refresh.
In a nutshell, the steps for when you change your report are:
1. Modify the report in Desktop
2. Optional step - You can refresh or not, that doesn't affect the scheduled refresh
3. Publish to the Service
4. If you made a change to a data source that you have a gateway for you will need to modify the gateway source in the settings in the service
5. If you made a change to your report structure in any way, you will need to "update app" after publishing the report
6. After updating the app, you should be good to go
7. If you are unsure that all is well, check the dataset's schedule refresh settings which should be unchanged.
- Winniethewinner4 years agoHelper IV
Thanks collinq .
My scenario is, I have a report with 2x tables which sourced from 2x SQL statements:
For example the desktop version has refreshed as of 08-15 and published to Service. The Service is set up daily refresh.
Today I made some changes with my SQL statements in ADVANCED table in desktop version, CAPACITY no change. So now in desktop, ADVANCED has data as of today and CAPACITY has data as of 08-15. If I publish it to Service, click "update app", the audience will see the report with outdated CAPACITY data, right?
In this case, should I need to refresh all data in the desktop first, then republish to the Service?
- collinq4 years agoSuper User
Hey Winniethewinner ,
When you publish from the desktop it SHOULD refresh on the Service but that is not always a given. If you want to be sure, what I do (unless the query is massive) is to refresh in desktop, then publish and then update app and I know all is well.
However, worst case scenario, you are right that the Service can potentially have some data that is "newer" than the other. But, that only lasts until the next scheduled refresh when everything gets caught up.
- Winniethewinner4 years agoHelper IV
Thanks. Yeah I think for the query change the "safer" way would be to refresh in the desktop first and then publish -> update app.