请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
yzme7sTE0397329(uid:1207339)
职业资格认证:尚未取得认证
  • A表中有一级科目和二级科目,B表中只有二级科目,如何实现点击A表中的一级科目判断其二级科目进行下钻
  • select product_type,       responsibility_category,       sum(returned_quantity) as exodus_rate,       multiIf('${type}'='订单付款后时间',toYear(toDate(order_payment_time)),           '${type}'='支付时间',toYear(toDate(payment_date)),           '${type}'='分厂时间',toYear(toDate(branch_date))) as tyear,       multiIf('${type}'='订单付款后时间',toMonth(toDate(order_payment_time)),           '${type}'='支付时间',toMonth(toDate(payment_date)),           '${type}'='分厂时间',toMonth(toDate(branch_date))) as tmonthfrom various_responsibilitieswhere multiIf('${type}'='订单付款后时间',order_payment_time,           '${type}'='支付时间',payment_date,           '${type}'='分厂时间',branch_date)  between toStartOfMonth(subtractMonths(toDate('${end_time}'),4))    and subtractMonths(toDate('${end_time}'),0)    ${lf(type=="订单付款后时间","and order_payment_time<='"+end_time+"'",    if(type=="支付时间","and payment_date<='"+end_time+"'",    if(type=="分厂时间","and branch_date<='"+end_time+"'",'')))}GROUP BY product_type,responsibility_category,tyear,tmonth 
  • 有字段:产品类型、销量、订单支付时间、分厂时间、发货时间。通过传的不同时间参数显示不同产品当前的销量情况,如:传的订单支付时间就显示当前月1号至当前订单支付时间不同产品的累计销量,传的发货时间就显示当前月1号至当前发货时间不同产品的累计销量,
  • SELECT product_type,'合计' AS responsibility_category,SUM(returned_quantity) AS exodus_rate,YEAR(order_payment_time) AS year,MONTH(order_payment_time) AS month FROM various_responsibilities WHERE order_payment_time between date_sub('2022-10-12',interval 4 month) and '2022-10-12' AND branch_date<='2022-10-12' GROUP BY product_type,year,month ) CLEFT JOIN(SELECT product_type,SUM(sales_volume) AS exodus_rate,YEAR(order_payment_time) AS year,MONTH(order_payment_time) AS month FROM various_responsibilities WHERE order_payment_time between date_sub('2022-10-12',interval 4 month) and '2022-10-12' AND branch_date<='2022-10-12' GROUP BY product_type,year,month) D ON C.product_type=D.product_type AND C.year=D.year AND C.month=D.month
  • 各渠道畅销产品TOP10.rar
  • finereport中如何用箭头标注指标的同比增减情况

19

0

19

10

12下一页
个人成就
内容被浏览6,646
加入社区2年39天
返回顶部