企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 910|回复: 5

how to sum categories?

[复制链接]

76

主题

403

帖子

586

积分

高级会员

Rank: 4

积分
586
QQ
发表于 2014-5-28 19:07:51 | 显示全部楼层 |阅读模式
Hi,
I have an requirement, please I cannot post the cube views,
In the cube A I have dimensions;
Employee Details,
Region
Staff catregory
Sl.No.
In employee details we have Emp.Id,Emp.Name,Emp category(Director,VP,ExectiveManager etc)
There are like for each employee based on category he has start date and end date, and also has bill rate for the employee.
I cube i need get total value for each category like(Director,VP,ExecutiveManager etc)here,
for every month I should get the total for each category bill rate(total or sum),
For example, I have Executive managers for 5 different employees who is billed in Jan month
In the Cube B, I should get the total(whole sum) for each category for each month.

I have tried writing for this but notable get the sum of Categories

TM1 9.5.2
Excel 2007

Thank you.
回复

使用道具 举报

89

主题

395

帖子

598

积分

高级会员

Rank: 4

积分
598
QQ
发表于 2014-5-28 20:52:56 | 显示全部楼层
This is or at least should be a straightforward requirement.  What's the dimensionality of cube B?
回复 支持 反对

使用道具 举报

84

主题

404

帖子

593

积分

高级会员

Rank: 4

积分
593
QQ
发表于 2014-5-28 21:06:26 | 显示全部楼层
must do it in process,
create a view -->need to accumulate the values for the desired intersaction with cell get and cell put, for example:
vtotal = cellgetn(from source cube/view)+vtotal
cellputn(vtotal, target cube),
then you will have the total for each category,

good luck,
回复 支持 反对

使用道具 举报

81

主题

429

帖子

608

积分

高级会员

Rank: 4

积分
608
QQ
发表于 2014-5-28 21:19:02 | 显示全部楼层
usually for such requirement i would just create a hierarchy in the Employee dimension. Through this way you are able to maintain the data in one cube and report against each category and all the groups.

All Employees
- Director
-- Name A
- VP
-- Name B
-- Name C
- Executive Manager
-- Name D
-- Name E
-- Name F
回复 支持 反对

使用道具 举报

81

主题

424

帖子

616

积分

高级会员

Rank: 4

积分
616
QQ
发表于 2014-5-28 21:31:49 | 显示全部楼层
yuval wrote:must do it in process,
create a view -->need to accumulate the values for the desired intersaction with cell get and cell put, for example:
vtotal = cellgetn(from source cube/view)+vtotal
cellputn(vtotal, target cube),
then you will have the total for each category,

good luck,
What do you mean "must do it in process"?
Depending on the model, possibly maybe, but most of the time in cases like the OP has described (from the very little we have been given to go on anyway) this would probably be done with a rule not TI as it implies a planning model where there is usually a requirement for sumarized totals to be immediately available on data change without need for batch processing.

For a TI process solution it also wouldn't have to be a leaf view with accumulate values - it could just as validly pull consolidated amounts and write directly (I'd usually go the leaf accumulation route myself as most of the time it's quicker, not always though.)

From here on in with Performance Modeller doing such rule or process "accumulation links" looks like it is going to get a whole lot easier for novices.  I think this is a good thing on the whole but it is probably going to lead to some very interesting models...
回复 支持 反对

使用道具 举报

87

主题

373

帖子

564

积分

高级会员

Rank: 4

积分
564
QQ
发表于 2014-5-28 21:47:01 | 显示全部楼层
thank you.

Hi Lotsaram,

In cube B i have three dimensions;
Months,
Employee bands(Director,executives,Mangers,Analyst etc)
Type(Sales, marketing etc).

In the second cube my calculation should be like,
For month Jan, I should get all employees(sum) who belongs to Manager band values.The remaining months also will be the same.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2023-5-31 04:32 , Processed in 0.065553 second(s), 35 queries .

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表