Getting base cost of project not from cube

G

Grigory Bushuev

Hi,
I have to get base costs of the projects stored in the MS Project,(i think
it must be
sum of the all project tasks). Base costs i must get not from
cube(MSP_CUBE_ASSN_FACT).
How to do it?
 
G

Grigory Bushuev

My PM see data in MS Project like this:

select PROJ_NAME, sum(ASSN_BASELINECOST) as BaseCost
from dbo.MSP_CUBE_PROJECTS proj
inner join dbo.MSP_CUBE_ASSN_FACT as fact
on fact.PROJ_UID = proj.PROJ_UID
group by PROJ_NAME

I made this sql query:

select ProjectTitle, TaskBaselineCost as BaseCost
from dbo.MSP_VIEW_PROJ_PROJECTS_STD proj
inner join dbo.MSP_VIEW_PROJ_TASKS_STD as task
on task.WPROJ_ID = proj.WPROJ_ID
where TaskUniqueID = 0
order by ProjectTitle

but result is differ. Result must be the same.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top