Forum Discussion
API data not refreshing in Service
- 2 years ago
That'll do it. This setting is ignored in the service, and the service will always try to run queries in parallel.
One way to prevent that is to use the Function.InvokeAfter trick.
Thanks for the reply.
The query runs fully in the desktop tool so I don't think there is a number of calls limit for our JIRA.
I could try to find the number of calls Power BI service can make before failing, but that is going to be less than the number of calls needed to get the whole of the data.
Did you disable parallelism in the desktop?
- Aron_Moore2 years ago
Solution Specialist
Hadn't changed the parallelism settings.
The desktop file is using settings of:
Global
Current File
- lbendlin2 years ago
Super User
That'll do it. This setting is ignored in the service, and the service will always try to run queries in parallel.
One way to prevent that is to use the Function.InvokeAfter trick.
- Aron_Moore2 years ago
Solution Specialist
Did some research on the Function.InvokeAfter and modified my code.
It fully refreshed in desktop. Also made some visual changes to ensure the changes pushed up to the Service.
Still failing in the service with same error.
Thoughts?