Cognos Studio中的日期提示中的选项

时间:2015-11-16 17:41:49

标签: cognos cognos-10 cognos-bi

我在数据库中有一个日期列。 我有一个"日期来自"和"日期到"在提示页面中过滤数据。

现在,我想在提示页面中为用户提供3个选项 a)年度 b)季度四分之一 c)月份月份

假设用户选择日期 - 从2004年11月1日开始,日期到2015年11月1日,并选择"年度和#34;在选项中 输出应该是年复一年的分叉。

我无法获得3个选项并将其连接到日期提示字段。

我如何实现这一目标?

1 个答案:

答案 0 :(得分:0)

我认为您需要使用复合滤镜来测试这两个参数:

(?type? = 'Year over Year' and {Date logic using date parameters for YoY})
or 
(?type? = 'Quarter over Quarter' and {Date logic using date parameters for QoQ})
or
(?type? = 'Month over Month' and {Date logic using date parameters for MoM})

您没有说明年度等逻辑应该是什么,但您应该能够调整上述模式。