Forum Discussion
Switching between working local/online
In power bi desktop this switch works beautifully. SharePoint files are always synced to my desktop through OneDrive syncing, thus working local is much faster, because it only has to download the files once.
Is there another way to quickly switch between local and SharePoint? I don't want to lose the scheduled refresh ability, and the error on the web worries me.
- What I would do, is to always have it pointing at the SharePoint Files.
This will mean no matter when you access it, it will be consistent, and allow you to refresh the data.
3 Replies
- GilbertQSuper UserWhat I would do, is to always have it pointing at the SharePoint Files.
This will mean no matter when you access it, it will be consistent, and allow you to refresh the data.- SomeshNew Member
As long as there is any Quary that enumrates the local dive, the PBIX cant be published to the service, even if you employ a if statement & a parameter to switch sorces.
So the trick is to convert the Quary that conatins the local sorce to a function (remember to delink the function you created using properties) & then detele the orignal Quary. Call the function in the IF statement in place of the local quary table .
This way the table listing the local drive does not activate till the condition is tru & a connection is not created untill the parimeter wants it to.
Continew to work on Local as it help in faster preview with no internet latency during develeopment & when you are ready to publish switch to sharepoint souce. This time the If statement skips the function so the table is not created & hencewill not be part of the publish.
You need to refresh once then you can publishing without any errors.
- jaryszekSuper User
Hi Guys,
new idea for it:
https://community.fabric.microsoft.com/t5/Fabric-Ideas/Skip-Credential-Validation-for-Queries-Excluded-from-Report/idi-p/4748177
Please vote!
It means that you can exclude query to be refreshed not only in power bi desktop - also within power bi service without failing because of data source credentials.
Best,
Jacek