简体   繁体   English

Tibco Spotfire交叉桌

[英]Tibco Spotfire cross table

How to show last 3 month aggregated data when current month is selected in Cross table for Tibco Spot-fire? 在Tibco Spot-fire的交叉表中选择当前月份时,如何显示最近3个月的汇总数据?

Example : If i select Month = June, then need to show June Data Along with Prior 3 months aggregated data (March + April + May) 示例:如果我选择Month = June,则需要显示6月数据以及前3个月的汇总数据(3月+ 4月+ 5月)

My idea would be to create calculated column which stores Month Name as Number (so January would be 1, February 2, March 3, ....). 我的想法是创建一个将月份名称存储为数字的计算列(因此1月将是1,2月2日,3月3日,...)。

You create Document Property which selects the month (display Month, value Number). 您创建文档属性,该属性选择月份(显示月份,数值)。 And inside Cross Table you can do something like: 在Cross Table中,您可以执行以下操作:

([Month Number] >= ${Property}-3 and [Month Number] <= ${Property}).

Can't test this right now but it should give you what you're looking for or at least some start point. 目前无法测试,但它应该为您提供所需的内容或至少一些起点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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