【发布时间】:2020-01-11 03:41:49
【问题描述】:
我只需要根据TransactionDate DESC 为每个ClaimantID 创建排名列。
示例 .pbix 文件可以在这里找到: https://www.dropbox.com/s/9dsnylng70t5a8i/Count%20Open%20and%20Closed%20at%20Point%20of%20time.pbix?dl=0
在下面的图片中,我有两个关于 TransactionDate 的独特声明。
那么如何按 TransactionDate 降序排列 ClaimantID?
我尝试创建列排名。但它并没有给我想要的结果:
Rank =
RANKX(
CALCULATETABLE(
Claimants
,ALLEXCEPT(Claimants,Claimants[ClaimantID])
),Claimants[TransactionDate]
)
结果应如下所示:
【问题讨论】:
标签: powerbi dax powerbi-desktop