Forum Discussion
oslosa
6 years agoHelper I
Refresh not running R script
Hi, I have data that is updated every day, but I want to store historical values so that they are not overwritten. The way I am trying to do this is to export my dataset and append it to a csv file, ...
jonsey1995
3 years agoFrequent Visitor
Also having this issue, has a solution been found?
R query i'm using
install.packages("openxlsx")
library("openxlsx")
write.xlsx(dataset, "removed this but is a valid directory", asTable = TRUE, overwrite = TRUE)
When i refresh preview in power query, file is created/ overwritten correctly.
However when refreshing using powerBI Desktop the file is not created/overwritten