-
-
zhaoyouhong 数据达人Lv4
发表于2020-5-25 10:28
悬赏100
已解决
zhaoyouhong 发表于 2020-5-25 14:19
选择不同的指标,计算的是同一个表的不同字段,比如我选择2016计算A表的A字段,选择2017计算A表的B字段, ...
if(@cs='2016',A.A,if(@cs='2017',A.B,if(@cs='2018',A.C,A.ZB)))在单元格写if判断表达式
7个回答
您好,可以先看一下这个帖子http://help.esensoft.com/doc-view-215.html
-
zhaoyouhong 数据达人Lv4
程序小哥哥 发表于 2020-5-25 10:31
您好,可以先看一下这个帖子http://help.esensoft.com/doc-view-215.html
你好,我说的是酷屏,酷屏
-
1505121235 数据老手Lv5
系统内置html组件没有枚举下拉框哈,酷屏主要是针对有开发基础的用户使用的,你这边找个程序小哥帮你写下脚本实现下
-
zhaoyouhong 数据达人Lv4
1505121235 发表于 2020-5-25 10:54
系统内置html组件没有枚举下拉框哈,酷屏主要是针对有开发基础的用户使用的,你这边找个程序小哥帮你写下脚 ...

-
1505121235 数据老手Lv5
zhaoyouhong 发表于 2020-5-25 11:05
smile.gif

-
zhaoyouhong 数据达人Lv4
1505121235 发表于 2020-5-25 11:47
用这个替代一下,附上用法:http://bbs.esensoft.com/thread-132337-1-1.html
选择不同的指标,计算的是同一个表的不同字段,比如我选择2016计算A表的A字段,选择2017计算A表的B字段,选择2018计算A表的C字段,这样的需求如何实现?
-
1505121235 数据老手Lv5
zhaoyouhong 发表于 2020-5-25 14:19
选择不同的指标,计算的是同一个表的不同字段,比如我选择2016计算A表的A字段,选择2017计算A表的B字段, ...
if(@cs='2016',A.A,if(@cs='2017',A.B,if(@cs='2018',A.C,A.ZB)))在单元格写if判断表达式