Spotfire - Custom sub total

廉价感情. 提交于 2019-12-20 04:37:17

问题


I would like to calculate sub total in Spotfire cross table based on a condition and color the sub total row.

As shown in the table below, I would like to add sub total of all the rows by store except 'Watermelon' but show 'Watermelon' sales row in the table. Please let me know if this is possible.

Example below:

Cross Table:

Thanks for your help!


回答1:


Short Answer is No.

Sub Total and Grand Total is calculated based off the data in the visualization, regardless if you are rendering it or not so it's not "adjustable" without removing / limiting the data via custom expression or filters. The only real way around this would to create a Store named "Sub Total" which contained all of the data for all fruits excluding watermelon. It's not really recommended though.

Here was a similar post on this issue....

https://stackoverflow.com/a/38852432/6167855

https://stackoverflow.com/a/40177511/6167855



来源:https://stackoverflow.com/questions/40087125/spotfire-custom-sub-total

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!