Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project Server 2013 - BI reports (SQL) - how to use multiple values field in the report and show them in the same row.

$
0
0

Hi

I am creating a complected report using the Project server excel services reports.

i had to join a few tables to get the data i needed and also there are a few multi selection lookup custom fields (on the task level).

I was able to get the multi-value field into my table but for tasks that has more than one value selected in the drop down list, the rows are divided.

Here is the task definition i am referring to in Project (multi value in bold):

Task NameStartDurationFinishIEActivityActivity StatusPredecessorsLocation and CustomerPlatform and Chamber/Product
V5 installation12/02/20164 days15/02/2016Igor KTier2Active20AMT.MIAB.CD6,Prod.Twin











and the output is this:

Platform and Chamber/ProductOpp. #Resource NameActivityStart DateFinish DateDuration
AB.CD6000500Igor KTier029/12/201502/01/20165
AB.CD6000500Igor KDelay-T003/01/201605/01/20163
AB.CD6000500Igor KTier109/01/201618/01/201610
AB.CD6000500Igor KTier219/01/201624/01/20166
AB.CD6000500Igor KDelay-T225/01/201626/01/20162
AB.CD6006000Igor KTier028/01/201601/02/20165
AB.CD6006000Igor KTier102/02/201611/02/201610
AB.CD6006000Igor KTier212/02/201615/02/20164
DT.F7000900Igor KTier010/03/201614/03/20165
DT.F7000900Igor KTier115/03/201624/03/201610
DT.F7000900Igor KTier225/03/201628/03/20164
DT.F70700Ruben MTier024/03/201628/03/20165
DT.F70700Ruben MTier129/03/201607/04/201610
DT.F70700Ruben MTier208/04/201611/04/20164
Prod.Twin006000Igor KTier028/01/201601/02/20165
Prod.Twin006000Igor KTier102/02/201611/02/201610
Prod.Twin006000Igor KTier212/02/201615/02/20164
(blank)(blank)Igor KDelay-T006/01/201608/01/20163

I would like it to group it as one task each instead of separating it. 

Like shown in the screen shot below:

Is there a way to do that in the SQL or in the excel pivot?  

I have tried distinct on the fields but it gives me errors like 

The ntext data type cannot be selected as DISTINCT because it is not comparable.


Ofir Marco , MCTS P.Z. Projects


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>