我在tableau中有这样的数据
City Number of office Total Offices
Chicago 5 20
Houston 6 20
Dallas 4 20
我想创建一个计算字段,其值的差异总办公室-(减去)和(办公室数量)。它应该看起来像这样(20 - (5+6+4)) =5
City Number of office Total Offices Difference(Calculated Field)
Chicago 5 20 5
Houston 6 20 5
Dallas 4 20 5
如何才能做到这一点
发布于 2021-04-15 01:18:08
简单地说就是这样
[Total Offices] - {sum([Number of Office])}
https://stackoverflow.com/questions/67084141
复制相似问题