Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS 2008, Issue trying to sum lookup values

$
0
0

Hi,

I have 2 datasets, dataseta is a list of tickets and their relevant owner and databsetb is a list of owners and a daysworked first against them.

I have a table with a detail grouping on ticketid and a normal grouping on owner which works well... all straight forward to this point. In this table on the owner grouping level I also have a lookup to datasetb which pulls back the daysworked per owner which works fine aswell. But what I now need to do is total the daysworked over all owners, which sounds simple but doesnt work.

This is the expression on the daysworked for each owner -

=lookup(Fields!owner.Value,Fields!owner.Value, Fields!Days_worked.Value,"datasetb")

if i add a sum around this then it uses the figure above but multiplies it by the amount of tickets in the detail grouping.

How do i get around this?


Pete


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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