如何更新与Power BI数据集连接的报告

huangapple go评论143阅读模式
英文:

How to update report connected to Power BI datasets

问题

我使用许多数据表来创建报告。由于数据源速度较慢,表格大小巨大(Odata),我必须改变更新数据的方式。

我的想法是在Power BI工作区中为每个实体(表格)创建一个数据集,并每天更新一次。新报告将连接到此数据集,而不是Odata源(因此,当报告更新时,它们从数据集下载数据,而不是从Odata源下载,后者速度较慢且不高效)。此外,新报告将不会并行下载数据,而是从单一数据源下载。

我从最常用的实体创建了2个数据集,删除了不重要的列,并将它们上传到工作区。数据集每天上传一次,效果很好。

之后,我在Power BI中创建了一个新的测试报告,将数据集连接为数据源(DirectQuery),并在此报告中使用DAX进行了全部计算。

然后,我上传了这份报告,但我无法通过工作区更新它。

{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"Refresh is not supported for datasets with a calculated table or calculated column that depends on a table which references Analysis Services using DirectQuery."}}],"exceptionCulprit":1}}}

有人能帮我解决这个问题吗?

如果我通过桌面应用程序进行更新,一切都运行正常。

我尝试了多次更新报告,但无法找到解决方法。

英文:

I work with a many data tables which I am using for reports creation. Because data sources are slow and tables have huge size ( Odata ), I have to change the way how to update data.

My idea was to create one DataSet per entity ( Table ) in Power BI workspace and update it once per a day. New reports will be connected to this DataSet instead of Odata source ( So when reports will be updated, they download data from Dataset, not from Odata source which is a much slower and non effective ). Also the new reports will not download the data paralel, but from a single data source.

I created 2 DataSets from most used entities, remove non important columns and upload them to workspace. DataSets are uploaded once per day which works great.

After that, I created a new test report in Power BI, connected a DataSets as a source ( DirectQuery ) and did whole calculations in this report using DAX.

After I upload this report, I was not able to update it via workspace.

{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"Refresh is not supported for datasets with a calculated table or calculated column that depends on a table which references Analysis Services using DirectQuery."}}],"exceptionCulprit":1}}}

Can someone help me with this ?

If I do the update via desktop, everything works great.

I Tried to update reports many times, but I am not able to find what to do.

答案1

得分: 1

不使用数据集,我在工作区中使用了数据流,它们的工作方式相同。

如果你使用了计算的DAX列,就无法更新数据集。

谢谢。

英文:

Instead of DataSets I used DataFlows in workspace, which work same.

Updating Datasets is not able if you are using calculated DAX columns.

Thanks.

huangapple
  • 本文由 发表于 2023年5月29日 18:39:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/76356631.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定