【发布时间】:2017-07-15 19:06:27
【问题描述】:
【问题讨论】:
标签: powerbi dax powerbi-datasource
【问题讨论】:
标签: powerbi dax powerbi-datasource
尝试使用此方法创建一个名为 Occurrences 的计算列:
Occurrences =
CALCULATE (
COUNT ( [Pais] ),
FILTER (
'Table',
[Index] <= EARLIER ( 'Table'[Index] )
&& [Pais] = EARLIER ( 'Table'[Pais] )
)
)
索引必须是每行的增量键。
【讨论】:
EARLIER的用法,check this article我曾经理解过。