on 08-22-2010 3:42 AM
基础数据:
公司代码 物料 物料组 事业部 单价 销售数量 金额
1000 M1 G1 O1 10 100 1000
1000 M2 G1 O1 20 200 4000
2000 M1 G1 O1 20 100 2000
2000 M2 G1 O1 10 200 2000
报表需要的展现方式:
事业部 物料组 单价 销售数量 金额
O1 G1 15 600 9000
u201D公司代码u201D和u201C物料u201D需作为导航属性,做下溯分析!
---加入u201C公司代码u201D分析
事业部 物料组 公司代码 单价 销售数量 金额
O1 G1 1000 50/3 300 5000
2000 40/3 300 4000
---加入u201C物料u201D分析
事业部 物料组 物料 单价 销售数量 金额
O1 G1 M1 15 200 3000
M2 15 400 6000
-
上面是我在家里手工模拟的过程;
这个问题在系统中的解法?可否通过新建一个关键值(u201C单价u201D作为基本视图,聚合属性设置:移动平均,参考特性u201C物料u201D)可不可以实现?望各位大侠慷慨献计~
用exception aggregate做。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
也谢谢您的反馈..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
你的单价,数量,金额都还是成比例关系,用公式应该可以。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Liuzz,你好:
我觉得如果你仅仅是要做加权得到价格的话,为什么不做一个公式,价格=金额/数量呢,这样就是典型的计算加权的方式啊,下面我们以一个数学公式看看,Q1P1=M1,Q2P2=M2(这里Q代表数量、P代表价格、M代表金额),你的目标是P = (Q1P1+Q2P2)/(P1P2),那不就是(M1M2)/(P1+P2)。
如果是做Exception Aggregation的话,只能设定1个参考Characteristic,这点比较郁闷。
Best Regards
Martin Xie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.