周数分为几个月 [英] Week number divided between months

查看:114
本文介绍了周数分为几个月的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我们所有的报告和计算均以周为基础。但是在从项目服务器派生的OLAP多维数据集中,您可以将时间字段展开到一周,但有些星期会在两个月内出现。这使得在我们的报告中我们必须制作不同的表格,以
计算总周数值。

All our reports and calculations are week based. But in the OLAP cube derived from project server you can unfold the time field until week, but some weeks fall in two separate months. This makes that in our reports we have to fabricate different tables to calculate the total values of weeks.

有没有什么方法可以让你可以跳过季度和月份这样的事情时间只有年和周?

Is there any way in which you can skip quarter and month so the outdent of time is only year and week?

我们正在使用项目服务器2010.

We are using project server 2010.

提前谢谢,

Bert

亲切的问候,Bert

Kind regards, Bert

推荐答案

我一般用源数据的SQL表,因为它们比OLAP多维数据集更容易操作。 最简单的方法是简单地使用查询。  (可能会受到性能影响,具体取决于您的数据大小。)
I generally use the SQL tables for source data as they're easier to manipulate than the OLAP cubes.  Easiest would be to simply use a query against those.  (May be a performance hit depending on the size of your data.)


这篇关于周数分为几个月的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆