永洪社区

标题: 折线图统计 [打印本页]

作者: yhdata_t6WVAiq5    时间: 2023-10-11 13:26
标题: 折线图统计
需要在折线图中展示,每天对应的占比,占比计算: (question_type为1的orderNo值的总数)/(question_type不为空的orderNo值的总数),请问:question_type为1的orderNo值的总数,这个计算条件在哪里设置

作者: yhdata_lyaa    时间: 2023-10-11 13:39
question_type和 orderNo 都是字段吗
作者: yhdata_t6WVAiq5    时间: 2023-10-11 13:49
是的
作者: yhdata_t6WVAiq5    时间: 2023-10-11 13:56
截图如下
作者: yhdata_lyaa    时间: 2023-10-11 13:59
每天都有多个question_type和orderNo ,有样例数据吗,折线图感觉不好实现
作者: 行走的蜗牛    时间: 2023-10-11 14:15
添加计算列吧
作者: yhdata_t6WVAiq5    时间: 2023-10-11 14:20
计算question_type=1的orderNo总数  这个怎么写,我不会写表达式
作者: yhdata_DBs9C72w    时间: 2023-10-11 15:44
添加计算列
作者: yhdata_lyaa    时间: 2023-10-11 15:52
分别可以算出,但是再相除会报 聚合不可以再聚合的错误


作者: 吴美颖    时间: 2023-10-11 19:26
添加计算列
作者: 许丽娟    时间: 2023-10-12 09:57
添加计算列
作者: 潘昱璇    时间: 2023-10-12 09:58
添加计算列吧
作者: 潘昱璇    时间: 2023-10-12 09:58
添加计算列吧
作者: 许丽娟    时间: 2023-10-12 09:59
添加计算列
作者: yhdata_ou1Dnhbu    时间: 2023-10-13 08:13
添加计算列




欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4