需要在 Direct Query 模式下对测量的列进行排名。可能吗?我在下面尝试过,但收到错误“直接查询模式不支持函数 RANKX”。
Rank = IF (
HASONEVALUE ( Table_Name[ColumnName for which Ranking is required] ),
RANKX ( ALL ( Table_Name[ColumnName for which Ranking is required] ), [ColumnName on which Ranking is required])
)