Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Everyone,
I have a requirement to create a Power BI dataset in online. Source file is CSV, I am successfully able to create dataset but unfortunately Its not supporting to add schedule refresh to it.
It throws an error as "Refresh can't be scheduled because the data set doesn't contain any data model connections, or is a worksheet or linked table. To schedule refresh, the data must be loaded into the data model."
can anyone help me how to resolve this ?
thanks
Solved! Go to Solution.
Hi @Anonymous ,
As @AllisonKennedy suggested, you can store your CSV file in OneDrive or SharePoint so that Power BI will automatically connect to the file and refresh any changes with the dataset in Power BI. You can review the document below to get more details. However, based on your previous reply it seems that this method is not supported on your end.
Refresh a dataset created from a .CSV file on OneDrive or SharePoint Online
As mentioned in the error message, since this is a worksheet and not loaded into the model, there is no way to configure a scheduled refresh... You can try to connect the CSV file in Power BI Desktop, then transform data to generate the model, and to create the report. After that, you can publish the report to Power BI Service.
Since the CSV file is on-premise, you need to install and configure a gateway first. Please note that keep the gateway online. Then add the source to the gateway and configure the schedule refresh. You can refer the following documentations.
The Power BI Gateway; All You Need to Know
Install and register gateway
Add gateway data source
Configure schedule refresh
Best Regards
@Anonymous Are you using Power BI desktop to create the dataset or are you working with Dataflows? Is the CSV file saved in SharePoint?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Thanks for your reply,
I am importing the CSV files from my machine saved in system. Creating datasets directly in Power BI service. But issue with adding schedule refresh to it .
@Anonymous You'll need to save the CSV file in SharePoint so you can schedule refresh without a gateway.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Thanks for the response @AllisonKennedy .
Yes it works with sharepoint,as per our requirement we are not supposed to use sharepoint/one drive as a data source. It has to work with flat files in network drive.
Hi @Anonymous ,
As @AllisonKennedy suggested, you can store your CSV file in OneDrive or SharePoint so that Power BI will automatically connect to the file and refresh any changes with the dataset in Power BI. You can review the document below to get more details. However, based on your previous reply it seems that this method is not supported on your end.
Refresh a dataset created from a .CSV file on OneDrive or SharePoint Online
As mentioned in the error message, since this is a worksheet and not loaded into the model, there is no way to configure a scheduled refresh... You can try to connect the CSV file in Power BI Desktop, then transform data to generate the model, and to create the report. After that, you can publish the report to Power BI Service.
Since the CSV file is on-premise, you need to install and configure a gateway first. Please note that keep the gateway online. Then add the source to the gateway and configure the schedule refresh. You can refer the following documentations.
The Power BI Gateway; All You Need to Know
Install and register gateway
Add gateway data source
Configure schedule refresh
Best Regards
@Anonymous In that case you will need a Gateway.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |