扫地僧青铜二
2023-7-25 11:16:20 发布在问答
文本怎么计算累计求和
  当我选2023年7月的时候,



展示 本月 的数据,,, 以及 累计2023年1-7月的数据,,  用文本组件来

最佳答案

永洪vip
happygirl 青铜二

2023-07-25 11:16:21

本月: if col['年_交易时间']==year(today()) and col['月数_交易时间']==month(today()) then (col['利润']) end 累计求和: if col['年_交易时间']==year(today()) and col['月数_交易时间']
查看完整内容
2141
2
精彩评论2
happygirl青铜二
发表于 2023-7-25 11:16:21 显示全部楼层
本月:
if col['年_交易时间']==year(today()) and
col['月数_交易时间']==month(today()) then (col['利润'])
end


累计求和:
if col['年_交易时间']==year(today()) and
col['月数_交易时间']<=month(today()) then (col['利润'])
end
回复

使用道具 2#

yhdata_yzm
发表于 2023-7-25 11:24:57 显示全部楼层
文本1绑定度量过滤用等于你选择的日期。文本2绑定度量过滤用之间你选择的日期和用dateadd计算出来的几个月前的数据
回复

使用道具 3#

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
1500W

用户等你来哦

Copyright   ©2012-2025  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |《永洪社区协议》
返回顶部