我是Cognos Reporting的新手,我想知道是否有一种方法可以创建有条件的模型/查询。例如:
"if x is not null then append this 'where line' to query"就像这样,我对Cognos还是很陌生的,所以我可能用错了词。
请帮帮我。
谢谢。
发布于 2013-04-24 04:36:32
如果要过滤查询主题的行,右键单击查询subject>编辑Defition>过滤器标签>在表达式定义框中添加过滤器。
x is null or (x is not null and <where expression to append>)如果要对查询项应用筛选器
case
when x is not null and <where expression to append>
then <some_query_item>
else <some_query_item>
endhttps://stackoverflow.com/questions/16145452
复制相似问题