1、函数topCount ,tuple,item,order
例子:
流量最大的监控点:
topCount ([监控点],1,[总流量])
流量最大的监控点的流量值:
tuple(item(topCount ([监控点],1,[总流量]),0),[总流量])
流量最小监控点:
order ([监控点],[总流量],asc)
流量最小监控点的流量值:
tuple(item(order ([监控点],[总流量],asc),0),[总流量])
2、条件块的使用
1)选择一个值提示框,定义参数为glbmordl,指定其静态选项值,0:部门,1:道路
2)新建字符串变量var,定义其表达式为:
IF ( ParamValue('glbmordl')='0' ) THEN
( '部门' )
ELSE
( '道路' )
3)定义var的值:道路、部门
4)拖拽一个条件快,绑定块变量为var,勾选上道路、部门
5)选择当前块则可编辑,OK!
3、单项选择框横向显示
默认情况下,值提示的选择UI值单选按钮组为纵向显示,现修改其为横向显示
1)html
<style>
.clsCheckBoxRow{width:5px;float:left;}
.clsCheckBoxList{border:none;}
</style>
2)定义按钮组的大小
后续继续!!!
3、恢复cognos自带的Cognos Content Store
name:Cognos Store
type:IBM cognos content database
Database server and port number :localhost:1527
User ID and password:cognos/cognos
Database name:cm