Quick Measure Error: "Only Power BI-provided date hierarchies are supported"

Quick Measure Error: "Only Power BI-provided date hierarchies are supported"

我正在尝试使用时间智能创建滚动平均快速度量。当我将我的 DATE 变量放入日期字段时,我收到错误消息 "Only Power BI-provided date hierarchies are supported".

我该如何解决这个问题?我尝试使用 here 发布的解决方案,但它对我不起作用。我的日期列也被格式化为 date/time。感谢您的帮助。

我能够解决这个问题。

快速测量功能仅适用于非常简单的数据模型(单个 table)。不能很好地扩展。

最简单的方法是使用 DAX 自行创建移动平均度量。那样没有限制。快速测量只是通过GUI生成DAX代码的一种方式。

查看本指南:https://www.daxpatterns.com/statistical-patterns/#moving-average or https://powerpivotpro.com/2013/07/moving-averages-sums-etc/