社区
DataWindow
帖子详情
sum(#x for all)的使用?
gfso2000
2003-03-27 06:52:41
我在数据窗口中选择"Insert"-->"Control"-->"Computed Field",选择sum( #x for all ),这个字段对#x列所有的记录求和,现在我只想得到前10行条记录的和,应该怎么修改?请指教,非常感谢。
...全文
245
7
打赏
收藏
sum(#x for all)的使用?
我在数据窗口中选择"Insert"-->"Control"-->"Computed Field",选择sum( #x for all ),这个字段对#x列所有的记录求和,现在我只想得到前10行条记录的和,应该怎么修改?请指教,非常感谢。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
shahand
2003-03-28
打赏
举报
回复
如果纯粹是想得到前十行的和
sum( if(getrow()>=10,#x,0) )
juanzi2003
2003-03-28
打赏
举报
回复
天蓝说得对!
zzz1975
2003-03-28
打赏
举报
回复
有创意
gfso2000
2003-03-28
打赏
举报
回复
问题终于解决了,谢谢各位。
fengzeng
2003-03-27
打赏
举报
回复
fallstone(天蓝) 说的没错,每10行分组求和。
sunsg
2003-03-27
打赏
举报
回复
建议还是用程序处理
fallstone
2003-03-27
打赏
举报
回复
if(getrow()>10,1,0)
按这个加个分组怎样?直接实现有难度吧。
matlab
sum
(2),matlab里边这个
sum
(X,1),
sum
(X,2)什么意思啊?
答:
SUM
(X,2)是对X的每行分别求和。 若引用的单元格中含有非数字(文本)值,则公式会中断,从而产生 #VALUE! 错误。
SUM
将忽略文本值,只给出数字值的求和结果。 如果删除了行或列,公式将不会更新来排除已删除的行,并且会返回#REF! 错误,而这种...答:首先:cells(n/2,.25*n:.75*n) = 1;cells(.25*n:.75*n,n/2) = 1;-------...
missing go.
sum
entry for module providing package golang.org/x/crypto/bcrypt
missing go.
sum
entry for module providing package
sum
函数的用法(matlab)
摘自matlab
sum
Sum
of elements. S =
sum
(X) is the
sum
of the elements of the vector X. If X is a matrix, S is a row vector with the
sum
over each column. For N-D arrays,
sum
(X) operates along the first ...
MATLAB中
sum
函数
最近阅读代码发现一句:
sum
(3维数组, 常数) 查询matlab帮助文档后:
sum
Sum
of elements. S =
sum
(X) is the
sum
of the elements of the vector X. If X is a matrix, S is a row vector with the
sum
over each column. For N-D arrays,
sum
(X) operates along the first non-singleton dimen
Python3之序列相关的函数---len、max、min、
sum
、any、all以及reversed
序列相关的函数: len(L) 返回序列的长度 max(L) 返回序列中的最大值 min(L) 返回序列中的最小值
sum
(L) 返回序列的元素的和(只有数字型才可以) any(L) 返回布尔值,序列中有一个为真就返回True,都为假的时候才返回False all(L) 返回布尔值,序列中全部为真时返回True,只要有一个假就返回False 举个栗子: >>> L...
DataWindow
609
社区成员
20,469
社区内容
发帖
与我相关
我的任务
DataWindow
PowerBuilder DataWindow
复制链接
扫一扫
分享
社区描述
PowerBuilder DataWindow
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章