This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I am running a simple scrpit in the power query editor as noted below it works really well the only thing I have noticed is that it will create the file, if not already created with the same table information listed three times. Then if I refresh the data it will append the information to what is there already but again adds the new information to the bottom three times. Is this because the script is ran three times during the refresh stage or is it something to do with the script?
write.table(dataset, file = 'filepath.filename.csv', sep=',', append=true)
Thank you in advance for your help.
mbrightman
Solved! Go to Solution.
If that query is referenced in other queries, please see this blog/video for an explanation.
Chris Webb's BI Blog: Why Does Power BI Query My Data Source More Than Once? (crossjoin.co.uk)
Pat
If that query is referenced in other queries, please see this blog/video for an explanation.
Chris Webb's BI Blog: Why Does Power BI Query My Data Source More Than Once? (crossjoin.co.uk)
Pat
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.