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 nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.