Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Cognos Reporting 的新手,我想知道有一种方法可以创建有条件的模型/查询。例如:
"if x is not null then append this 'where line' to query"
类似的东西,我对 Cognos 还是很陌生,所以我可能用错了词。
请帮帮我。
谢谢。
如果要过滤查询主题的行,请右键单击查询主题>编辑定义>过滤器选项卡>添加过滤器在表达式定义框中,
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> end