Tableau api 表中LOD计算的秩
我有一张这张桌子看起来很漂亮Tableau api 表中LOD计算的秩,tableau-api,Tableau Api,我有一张这张桌子看起来很漂亮 column1 column2 value a d 10 a e 20 b d 30 b e 40 and I want to get the rank of the value without considering column1 so I use and LOD to first get the total value with: {EXCLU
column1 column2 value
a d 10
a e 20
b d 30
b e 40
and I want to get the rank of the value without considering column1 so I use and LOD to first get the total value with: {EXCLUDE [column1]: SUM([value])}
this works and produces
rank
d 40
e 60
d 40
e 60
BUT what I want to do is get the rank. So I'd like
rank
d 2
e 1
d 2
e 1
when I do this RANK( {EXCLUDE [Pct Of Adv Buckets]: SUM([Notional])} )
I get an error "all fields must be aggregate or constants when using table calcualtions. Can you advise how to get teh rank.
您是否尝试了排名(SUM({EXCLUDE[Column1]:SUM([Value])}))
我有一个不同的搜索,但我认为这是您正在寻找的。您想从计算中排除column1,还是想从报告中排除它?您能否共享您的tableau工作簿,以便我可以更改它并将其提供给您。因为我无法理解您的示例数据。