请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
小孩子(uid:461281)
咸鱼 职业资格认证:FCA-FineReport | FCP-报表交付工程师 | FCA-FineBI
  • 设计器中是这样的预览是这样的怎么样让他这样展示我把所有的单元格的横向可扩展选项勾掉后,A3扩展还是会影响上下单元格的布局新增示例:这个是目前单元格扩展后出现的样子这个是想要的样子
  • 设计器的样子是这样的(A2单元格添加了过滤条件,过滤的条件是recordd=‘ ’)数据集预览图表数据源来自单元格
  • 结果要放在这里
  • select        sum(case when record like '%博士%' then 1 else 0 end) 博士,      sum(case when record like '%硕士%' then 1 else 0 end) 硕士,      sum(case when record like '%本科%' then 1 else 0 end) 本科,      sum(case when record not like '%博士%' and record not like '%硕士%' and record not like '%本科%' then 1 else 0 end) 专科及以下from dw.dw_hr_new_emp where yearmonth<='${yearmonth}'       and left(yearmonth,4)=to_char(now(),'yyyy') group by       case when record like '%博士%' then 1 else 0 end,      case when record like '%硕士%' then 1 else 0 end,      case when record like '%本科%' then 1 else 0 end,      case when record not like '%博士%' and record not like '%硕士%' and record not like '%本科%' then 1 else 0 end 想把他们合成一行展示。专科及以下的人数算出来的结果不对,不知道是不是过滤出了问题
  • SQL是这样的---历年人数变动with aa as (SELECT year yearr,add_num,reduse_num,avg_num,year_num FROM dw.dw_hr_emp_num),---今年新增总人数     bb as (select SUBSTR(yearmonth,1,4) yearr, count(worknum) add_num from dw.dw_hr_new_emp where substr(yearmonth,1,4)=to_char(now(),'YYYY') group by substr(yearmonth,1,4)),---今年离职总人数     cc as (select substr(yearmonth,1,4) yearr,count(worknum) reduse_num from dw.dw_hr_departure_emp where substr(yearmonth,1,4)=to_char(now(),'YYYY') group by substr(yearmonth,1,4)),---今年员工总数     dd as (select substr(yearmonth,1,4) yearr,count(worknum) year_num from dw.dw_hr_persionnel where substr(yearmonth,1,4)=to_char(now(),'YYYY') group by substr(yearmonth,1,4)),---今年在册员工平均人数---年份维度     ee as (select yearr from aa             union             select yearr from bb             union             select yearr from cc             union             select yearr from dd) select e.yearr,a.*,b.add_num,c.reduse_num,d.year_num from         (select yearr from ee) e        full join         (select * from aa) a           on e.yearr=a.yearr        full join          (select yearr,add_num from bb) b           on e.yearr=b.yearr        full join         (select yearr,reduse_num from cc) c           on e.yearr=c.yearr        full join         (select yearr,year_num from dd) d           on e.yearr=d.yearr
  • 两张表,有一列字段名称相同,我想把这两张表关联起来,就是两表有相同字段名的自动并成一列,没有相同字段名的就自己新建一列。
  • 这个是想要的效果这个是我做的柱形图
  • 修改的字段是这两个(把q去掉)提交后在数据集中预览,却并没有修改

172

6

172

10

个人成就
内容被浏览74,712
加入社区4年47天
返回顶部