简体   繁体   中英

sub total value wrong for division measure in spotfire

In the below link. I am using cross tab for calculation.

For last column [ Measure1/Measure2 ] column, the Subtotal value must be 467243.62 but the value is incorrect . But for other two columns having the desired sub total value. I need to consider the [ Measure1/Measure2 ] subtotal for further calculation.

[Measure1] is sum of column1

[Measure2] is sum of column2

[Measure1/Measure2] is sum(Column1)/Sum(column2)

So, Please help me to get it resolved.

Thanks in advance.

在此处输入图片说明

Change your formula to:

sum([Column 1]/[Column 2])

so the division is performed before the sum.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM