简体   繁体   English

在 Power BI 中刷新数据

[英]Refreshing data in Power BI

Can you refresh data in a Power BI dashboard if you've moved the underlying data source to a different folder?如果已将基础数据源移动到其他文件夹,是否可以刷新 Power BI 仪表板中的数据? My colleague built a dashboard using data on his desktop.我的同事使用他桌面上的数据构建了一个仪表板。 I have to refresh the dashboard, but the updated data now sits on my desktop.我必须刷新仪表板,但更新的数据现在位于我的桌面上。 Is there any way to do this?有没有办法做到这一点?

The best solution is to always import source file from SharePoint using the SharePoint folder connector.最好的解决方案是始终使用 SharePoint 文件夹连接器从 SharePoint 导入源文件。

As a quickfix you could also change the path to a local source file by going to the table/query in the PowerQuery Editor.作为快速修复,您还可以通过转到 PowerQuery 编辑器中的表/查询来更改本地源文件的路径。 The first ETL step is "Source" and in the formula bar you can see something like第一个 ETL 步骤是“源”,在公式栏中,您可以看到类似

Source = Csv.Document(
   File.Contents("C:\Users\login\Downloads\data.csv")
)

This is the place where you can simply change the path to the new location.这是您可以简单地将路径更改为新位置的地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM