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.
我需要 pentaho 报表设计器的帮助。
我使用了一些参数来过滤我的数据,但是,我似乎有义务过滤这些参数以在我的图表上显示数据。
所以,这就是我想要的,我需要让我的参数成为可选的。这意味着即使我不选择参数,我也想显示全局视图。
有什么想法吗?
取消勾选参数设置对话框中的必填复选框。
您必须创建一个隐藏参数;我们称它为“标志”,通过使用这个后处理公式来测试是否设置了参数。
=OR(ISNA([date_from]); ISNA([date_to]))
然后在您的查询中引用该新参数:
Select ..... where ${Flag} = TRUE OR (date between ${date_from} and ${date_to})